mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
RTL: update to v0.7.0
This commit is contained in:
parent
32b0fa9655
commit
94e39e6ae2
2 changed files with 5 additions and 4 deletions
|
@ -225,6 +225,7 @@ data.multiPass = '$newPassword';
|
||||||
console.log(JSON.stringify(data, null, 2));
|
console.log(JSON.stringify(data, null, 2));
|
||||||
EOF
|
EOF
|
||||||
rm -f /home/rtl/RTL/backup-RTL-Config.json
|
rm -f /home/rtl/RTL/backup-RTL-Config.json
|
||||||
|
rm -f /home/rtl/RTL/RTL-Config.json
|
||||||
mv /home/admin/RTL-Config.json /home/rtl/RTL/
|
mv /home/admin/RTL-Config.json /home/rtl/RTL/
|
||||||
chown rtl:rtl /home/rtl/RTL/RTL-Config.json
|
chown rtl:rtl /home/rtl/RTL/RTL-Config.json
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -84,11 +84,10 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
||||||
sudo -u rtl rm -rf /home/rtl/RTL 2>/dev/null
|
sudo -u rtl rm -rf /home/rtl/RTL 2>/dev/null
|
||||||
sudo -u rtl git clone https://github.com/ShahanaFarooqui/RTL.git /home/rtl/RTL
|
sudo -u rtl git clone https://github.com/ShahanaFarooqui/RTL.git /home/rtl/RTL
|
||||||
cd /home/rtl/RTL
|
cd /home/rtl/RTL
|
||||||
sudo -u rtl git reset --hard v0.6.7
|
# https://github.com/Ride-The-Lightning/RTL/releases
|
||||||
|
sudo -u rtl git reset --hard v0.7.0
|
||||||
# from https://github.com/Ride-The-Lightning/RTL/commits/master
|
# from https://github.com/Ride-The-Lightning/RTL/commits/master
|
||||||
# git checkout 917feebfa4fb583360c140e817c266649307ef72
|
# git checkout 917feebfa4fb583360c140e817c266649307ef72
|
||||||
# git fetch origin
|
|
||||||
# git checkout feature/0.6.5
|
|
||||||
if [ -d "/home/rtl/RTL" ]; then
|
if [ -d "/home/rtl/RTL" ]; then
|
||||||
echo "OK - RTL code copy looks good"
|
echo "OK - RTL code copy looks good"
|
||||||
else
|
else
|
||||||
|
@ -101,7 +100,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
||||||
# install
|
# install
|
||||||
echo "*** Run: npm install ***"
|
echo "*** Run: npm install ***"
|
||||||
export NG_CLI_ANALYTICS=false
|
export NG_CLI_ANALYTICS=false
|
||||||
sudo -u rtl npm install --only=production
|
sudo -u rtl npm install --only=prod
|
||||||
cd ..
|
cd ..
|
||||||
# check if node_modules exist now
|
# check if node_modules exist now
|
||||||
if [ -d "/home/rtl/RTL/node_modules" ]; then
|
if [ -d "/home/rtl/RTL/node_modules" ]; then
|
||||||
|
@ -139,6 +138,7 @@ data.nodes[0].Settings.channelBackupPath = '/home/rtl/RTL-SCB-backup-$hostname'
|
||||||
//Output data
|
//Output data
|
||||||
console.log(JSON.stringify(data, null, 2));
|
console.log(JSON.stringify(data, null, 2));
|
||||||
EOF
|
EOF
|
||||||
|
sudo rm -f /home/rtl/RTL/RTL-Config.json
|
||||||
sudo mv /home/admin/RTL-Config.json /home/rtl/RTL/
|
sudo mv /home/admin/RTL-Config.json /home/rtl/RTL/
|
||||||
sudo chown rtl:rtl /home/rtl/RTL/RTL-Config.json
|
sudo chown rtl:rtl /home/rtl/RTL/RTL-Config.json
|
||||||
echo ""
|
echo ""
|
||||||
|
|
Loading…
Add table
Reference in a new issue