Update scripts from snipe/snipe-it to grokability/snipe-it

This commit is contained in:
Jeremy Price 2025-04-03 11:51:12 -07:00
parent 70e9c6b947
commit 782b35e0f1
3 changed files with 5 additions and 5 deletions

View file

@ -8,6 +8,6 @@ if [ "$(id -u)" != "0" ]; then
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
./snipeit.sh 2>&1 | tee -a /var/log/snipeit-install.log
./snipeit.sh 2>&1 | tee -a /var/log/snipeit-install.log

View file

@ -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;"
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
pushd $APP_PATH
git checkout master

View file

@ -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";
// Fetching most current upgrade requirements from github. Read more here: https://github.com/snipe/snipe-it/pull/14127
$remote_requirements_file = "https://raw.githubusercontent.com/snipe/snipe-it/$branch/.upgrade_requirements.json";
// 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/grokability/snipe-it/$branch/.upgrade_requirements.json";
$upgrade_requirements_raw = url_get_contents($remote_requirements_file);
$upgrade_requirements = json_decode($upgrade_requirements_raw, true);
if (! $upgrade_requirements) {