add tools/cmupdate.sh for .08 beta Continue reading...
Is this to update centminmod instead of running the sequence of commands to download and overwrite from github?
It's a standalone file for now as haven't tested whether or not a bash script (centmin.sh) can delete itself heh
Wait, if this is not build into the menu yet, how to use this standalone file? Sorry, if my question is too stupid. Maybe by using this code? And thank you for considering my request. Spoiler Code: + branchname=123.08centos7beta01 + rm -rf /usr/local/src/${branchname}.zip + rm -rf /usr/local/src/centminmod-${branchname} + wget -cnv --no-check-certificate -O /usr/local/src/${branchname}.zip https://github.com/centminmod/centminmod/archive/${branchname}.zip + cd /usr/local/src + unzip ${branchname}.zip + cd centminmod-${branchname} + chmod +x centmin.sh
Maybe something like this? Code: cd /usr/local/src/centminmod-123.08centos7beta01/tools chmod +x cmupdate.sh ./cmupdate.sh
Note, this is only for 123.08centos7beta01 branch not .07 stable ! See list of branches at Branches · centminmod/centminmod · GitHub That's the best way or you can just download the raw file from github's branch at https://raw.githubusercontent.com/centminmod/centminmod/123.08centos7beta01/tools/cmupdate.sh Code: cd /usr/local/src/centminmod-123.08centos7beta01/ mkdir tools cd tools wget https://raw.githubusercontent.com/centminmod/centminmod/123.08centos7beta01/tools/cmupdate.sh chmod +x cmupdate.sh ./cmupdate.sh
see 6th post above.. not right now as not sure a script can be programmed to delete itself but keeping running the instance it's invoked from Most likely will need to be a separate script from centmin.sh