I ran the script at https://get.pimoroni.com/zerolipo today to install this little service (which seems to be working great, btw!) but I ran into a little snag in the zerolipo install script. I can't find a source for it on github but feel free to point me in another direction?
The "little bug" was on line 1101:
1098 else # custom block starts here
1099 echo -e "\nFinalising Install...\n"
1100 cd $installdir/$gitclonedir && ./setup.sh -y zerolipo
1101 cd $installdir && rm -r $installdir/$gitclonedir &> /dev/null
1102 fi
the rm -r should probably include a -f (--force) flag, because git had marked one of the .git metadata files to remove the writable bit, and thus rm will prompt - but it's wrapped in a script redirected to /dev/null so the install script appeared to hang. I found out what was happening on another shell and running the same command:
Hi there,
I ran the script at https://get.pimoroni.com/zerolipo today to install this little service (which seems to be working great, btw!) but I ran into a little snag in the zerolipo install script. I can't find a source for it on github but feel free to point me in another direction?
The "little bug" was on line 1101:
the rm -r should probably include a -f (--force) flag, because git had marked one of the .git metadata files to remove the writable bit, and thus rm will prompt - but it's wrapped in a script redirected to /dev/null so the install script appeared to hang. I found out what was happening on another shell and running the same command:
I'd recommend changing the
rm -r
torm -rf
HTH!