mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 11:50:00 +00:00
update readme and upgrade script to work from website, fix tabs in config sample
This commit is contained in:
parent
269c429959
commit
cb7ccd7854
@ -178,13 +178,13 @@ For more available modules, check out out the wiki page [MagicMirror² 3rd Party
|
|||||||
If you want to update your MagicMirror² to the latest version, use your terminal to go to your Magic Mirror folder and type the following command:
|
If you want to update your MagicMirror² to the latest version, use your terminal to go to your Magic Mirror folder and type the following command:
|
||||||
|
|
||||||
```
|
```
|
||||||
installers/upgrade-script.sh
|
bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/upgrade-script.sh)"
|
||||||
```
|
```
|
||||||
This will do a test run
|
This will do a test run
|
||||||
|
|
||||||
If the test update looks good then run this command
|
If the test update looks good then run this command
|
||||||
```
|
```
|
||||||
installers/upgrade-script.sh apply
|
bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/upgrade-script.sh)" apply
|
||||||
```
|
```
|
||||||
If there are changes you have made, they will be listed, and u will have the opportunity to save your work
|
If there are changes you have made, they will be listed, and u will have the opportunity to save your work
|
||||||
|
|
||||||
|
@ -78,12 +78,12 @@ if [ -d ~/MagicMirror ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# if we want just the modules listed in config.js now
|
# if we want just the modules listed in config.js now
|
||||||
#if [ $justActive == $true ]; then
|
if [ $justActive == $true ]; then
|
||||||
# if [ ! -f ~/MagicMirror/installers/dumpactivemodules.js ]; then
|
if [ ! -f ~/MagicMirror/installers/dumpactivemodules.js ]; then
|
||||||
# echo downloading dumpactivemodules script >> $logfile
|
echo downloading dumpactivemodules script >> $logfile
|
||||||
# curl -sL https://www.dropbox.com/s/wwe6bfg2lcjmj43/dumpactivemodules.js?dl=0 > ~/MagicMirror/installers/dumpactivemodules.js
|
curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/develop/installers/dumpactivemodules.js > ~/MagicMirror/installers/dumpactivemodules.js
|
||||||
# fi
|
fi
|
||||||
#fi
|
fi
|
||||||
echo update log will be in $logfile
|
echo update log will be in $logfile
|
||||||
# used for parsing the array of module names
|
# used for parsing the array of module names
|
||||||
SAVEIFS=$IFS # Save current IFS
|
SAVEIFS=$IFS # Save current IFS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user