mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-04-10 01:39:07 +02:00
Simplify entrypoint if else blocks
This commit is contained in:
parent
1a04a75232
commit
2a63caafc5
@ -26,14 +26,13 @@ ln -sF /2fauth/storage /srv/storage
|
||||
if [ -f /2fauth/installed ]; then
|
||||
php artisan migrate
|
||||
php artisan config:clear
|
||||
php artisan storage:link
|
||||
php artisan config:cache
|
||||
else
|
||||
php artisan migrate:refresh
|
||||
php artisan passport:install
|
||||
php artisan storage:link
|
||||
php artisan config:cache
|
||||
echo "do not remove me" > /2fauth/installed
|
||||
fi
|
||||
|
||||
php artisan storage:link
|
||||
php artisan config:cache
|
||||
|
||||
supervisord
|
||||
|
Loading…
Reference in New Issue
Block a user