mirror of
https://github.com/casjaysdevdocker/aria2
synced 2025-01-18 12:34:31 -05:00
🗃️ Committing everything that changed 🗃️
This commit is contained in:
parent
ae58b2d247
commit
766080eeaa
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user