Update scripts from snipe/snipe-it to grokability/snipe-it
This commit is contained in:
parent
70e9c6b947
commit
782b35e0f1
3 changed files with 5 additions and 5 deletions
|
@ -8,6 +8,6 @@ if [ "$(id -u)" != "0" ]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget https://raw.githubusercontent.com/snipe/snipe-it/master/snipeit.sh
|
wget https://raw.githubusercontent.com/grokability/snipe-it/master/snipeit.sh
|
||||||
chmod 744 snipeit.sh
|
chmod 744 snipeit.sh
|
||||||
./snipeit.sh 2>&1 | tee -a /var/log/snipeit-install.log
|
./snipeit.sh 2>&1 | tee -a /var/log/snipeit-install.log
|
||||||
|
|
|
@ -224,7 +224,7 @@ install_snipeit () {
|
||||||
mysql -u root --execute="CREATE DATABASE snipeit;CREATE USER snipeit_dbuser@localhost IDENTIFIED BY '$mysqluserpw'; GRANT ALL PRIVILEGES ON snipeit.* TO snipeit_dbuser@localhost;"
|
mysql -u root --execute="CREATE DATABASE snipeit;CREATE USER snipeit_dbuser@localhost IDENTIFIED BY '$mysqluserpw'; GRANT ALL PRIVILEGES ON snipeit.* TO snipeit_dbuser@localhost;"
|
||||||
|
|
||||||
echo -e "\n\n* Cloning Snipe-IT from github to the web directory."
|
echo -e "\n\n* Cloning Snipe-IT from github to the web directory."
|
||||||
log "git clone https://github.com/snipe/snipe-it $APP_PATH" & pid=$!
|
log "git clone https://github.com/grokability/snipe-it $APP_PATH" & pid=$!
|
||||||
progress
|
progress
|
||||||
pushd $APP_PATH
|
pushd $APP_PATH
|
||||||
git checkout master
|
git checkout master
|
||||||
|
|
|
@ -85,8 +85,8 @@ echo "- run migrations to get your schema up to date \n";
|
||||||
echo "- clear out old cache settings\e[39m\n\n";
|
echo "- clear out old cache settings\e[39m\n\n";
|
||||||
|
|
||||||
|
|
||||||
// Fetching most current upgrade requirements from github. Read more here: https://github.com/snipe/snipe-it/pull/14127
|
// Fetching most current upgrade requirements from github. Read more here: https://github.com/grokability/snipe-it/pull/14127
|
||||||
$remote_requirements_file = "https://raw.githubusercontent.com/snipe/snipe-it/$branch/.upgrade_requirements.json";
|
$remote_requirements_file = "https://raw.githubusercontent.com/grokability/snipe-it/$branch/.upgrade_requirements.json";
|
||||||
$upgrade_requirements_raw = url_get_contents($remote_requirements_file);
|
$upgrade_requirements_raw = url_get_contents($remote_requirements_file);
|
||||||
$upgrade_requirements = json_decode($upgrade_requirements_raw, true);
|
$upgrade_requirements = json_decode($upgrade_requirements_raw, true);
|
||||||
if (! $upgrade_requirements) {
|
if (! $upgrade_requirements) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue