Read the statement by Michael Teeuw here.
MagicMirror² installation and setup scripts
-
@sdetweil
Hey Sam,
on your install and update scripts is there a way to change the directory for installation? IE I would like to change the MagicMirror folder to MM on one pi
and CM on another. Just curious. I pulled down your raspberry.sh and replaced everything MagicMirror with MM and it installed but then I tried a git pull and it did not work. I did have to change the mm.sh in the installers directory, to look at MM instead of MagicMirror… then do a pm2 delete all and a pm2 start mm.sh then pm2 save and it works now… Just playing around, but got me to thinking. NOT A GOOD THING sometimes… LOL -
@plainbroke no, but after install you can rename the folder to anything you want
upgrade could use a parm if you change the name, but you could rename, upgrade, rename back
-
@plainbroke i can fix mm.sh too
-
@sdetweil said in MagicMirror² installation and setup scripts:
I thought as much, about the renaming it back to MagicMirror, upgrade and put it back to MM.
I have moved the mm.sh out to the home/pi directory, and fixed it to see the correct directory. Then I fixed the mm.json to point to the mm.sh in home directory.
That way I can only have to fix the mm.sh each time.
Simple enough
Don’t think about it too much… It was just a thought… -
P plainbroke has marked this topic as solved on
-
@sdetweil
What do you mean by using a parm?
Like apply/MM ? -
@plainbroke yes, maybe pass a folder name