Skip to content

Commit

Permalink
Fix install script, not sourcing right bashrc
Browse files Browse the repository at this point in the history
  • Loading branch information
SpieringsAE committed Oct 4, 2024
1 parent 2fdb6f2 commit 53d85af
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions etc/controller_update/current-release.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
0.8.0
repo ver V1.18.0
0.8.1
repo ver V1.18.1
for changelog see version.txt or the github page for the release.
2 changes: 1 addition & 1 deletion installer/gocontroll-first-install
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ cp -avr /root/GOcontroll/GOcontroll*/root / > /dev/null
cp -avr /root/GOcontroll/GOcontroll*/home / > /dev/null
cp -avr /root/GOcontroll/GOcontroll*/version.txt /root > /dev/null

source /root/.bashrc
source /etc/bash.bashrc

echo -e "${YELLOW}-Assign correct execution rights to files ${NORMAL}"
chmod 555 /usr/moduline/bash/go-simulink.sh
Expand Down
2 changes: 1 addition & 1 deletion usr/moduline/python/identify.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def led_flashing():
subprocess.run(["lsb_release", "-a"])
print("\nGOcontroll:\n")
subprocess.run(["cat", "/sys/firmware/devicetree/base/hardware"])
print("Serial Number:")
print("\nSerial Number:")
subprocess.run(["go-sn", "r"])
try:
with open("/root/version.txt", "r") as file:
Expand Down
4 changes: 4 additions & 0 deletions version.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
V1.18.0

########
4-10-2024 V1.18.1 Release 0.8.1
Fix the source of bashrc in the install script
Fix newline in identify

4-10-2024 V1.18.0 Release 0.8.0
Moved the /home/GOcontroll/.bashrc and /root/.bashrc files into /etc/bash.bashrc
Add a little warning message when the serial number step is skipped
Expand Down

0 comments on commit 53d85af

Please sign in to comment.