File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ function update_script() {
4949 cp -r /opt/snipe-it-backup/storage/private_uploads /opt/snipe-it/storage/private_uploads
5050 cd /opt/snipe-it/
5151 export COMPOSER_ALLOW_SUPERUSER=1
52- $STD composer install --no-dev --prefer-source
52+ $STD composer install --no-dev --optimize-autoloader --no-interaction
5353 $STD composer dump-autoload
5454 $STD php artisan migrate --force
5555 $STD php artisan config:clear
Original file line number Diff line number Diff line change @@ -58,8 +58,8 @@ sed -i -e "s|^APP_URL=.*|APP_URL=http://$IPADDRESS|" \
5858chown -R www-data: /opt/snipe-it
5959chmod -R 755 /opt/snipe-it
6060export COMPOSER_ALLOW_SUPERUSER=1
61- $STD composer update --no-plugins --no-scripts
62- $STD composer install --no-dev
61+ # $STD composer update --no-plugins --no-scripts
62+ $STD composer install --no-dev --optimize-autoloader --no-interaction
6363$STD php artisan key:generate --force
6464echo " ${RELEASE} " > " /opt/${APPLICATION} _version.txt"
6565msg_ok " Installed SnipeIT"
You can’t perform that action at this time.
0 commit comments