update inc/cpcheck.inc gitenv_askupdate function 123.09beta01 the centmin.sh on exit git code checker needed an update as centos 6 uses git 1.7.x and centos 7 uses git 1.8.x and git ls-remote --get-url command is only supported in git >1.8, so need an alternate way of determining the local /usr/local/src/centminmod git downloaded code's remote Git repo url Continue reading... 123.09beta01 branch Branch: https://github.com/centminmod/centminmod/tree/123.09beta01 Commit History: https://github.com/centminmod/centminmod/commits/123.09beta01
example of the bug prior to this commit fix on centos 6 with git 1.7 Code (Text): checking for YUM updates... please wait... no YUM updates available usage: git ls-remote [--heads] [--tags] [-u <exec> | --upload-pack <exec>] <repository> <refs>... ------------------------------------------------------------- Centmin Mod remote branch has changed usage: git ls-remote [--heads] [--tags] [-u <exec> | --upload-pack <exec>] <repository> <refs>... from to https://github.com/centminmod/centminmod.git ------------------------------------------------------------- Do you want to update the Centmin Mod Git repo url ? [y/n]: n ------------------------------------------------------------- Centmin Mod local code is up to date at /usr/local/src/centminmod no available updates at this time... ------------------------------------------------------------- example after the committed fix Code (Text): checking for YUM updates... please wait... no YUM updates available ------------------------------------------------------------- Centmin Mod local code is up to date at /usr/local/src/centminmod no available updates at this time... -------------------------------------------------------------