🗃️ Committing everything that changed 🗃️

This commit is contained in:
casjay 2022-10-19 19:08:20 -04:00
parent ae58b2d247
commit 766080eeaa
No known key found for this signature in database
GPG Key ID: 4F765975C1F0EE5F

View File

@ -105,9 +105,10 @@ fi
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Post copy commands # Post copy commands
if [ -f "/config/aria2/aria-ng.config.js" ]; then if [ -f "/config/aria2/aria-ng.config.js" ]; then
get_config="$(ls -A /var/www/ariang/js/aria-ng-*.min.js | head -n1)" get_config="$(ls -A /var/www/ariang/js/aria-ng-*.min.js | grep -v 'f1dd57abb9.min' | head -n1)"
rm -Rf "$get_config" rm -Rf "$get_config"
ln -sf "/config/aria2/aria-ng.config.js" "$get_config" ln -sf "/config/aria2/aria-ng.config.js" "$get_config"
ln -sf "/config/aria2/aria-ng.config.js" "/var/www/ariang/js/aria-ng-f1dd57abb9.min.js"
fi fi
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ -n "$RPC_SECRET" ]; then if [ -n "$RPC_SECRET" ]; then