mirror of
https://github.com/casjaysdevdocker/aria2
synced 2025-01-31 00:34:21 -05:00
🗃️ Committing everything that changed 🗃️
This commit is contained in:
parent
efec7e38c5
commit
97a64c01f8
@ -211,7 +211,11 @@ if [ -d "/config" ]; then
|
||||
if [ -n "$create_conf" ]; then
|
||||
create_conf_name="$(basename "$create_conf")"
|
||||
if [ -e "/etc/$create_conf_name" ]; then
|
||||
cp -Rf "$create_conf" "/etc/$create_conf_name" 2>/dev/null
|
||||
if [ -d "/etc/$create_conf_name" ]; then
|
||||
cp -Rf "$create_conf/." "/etc/$create_conf_name/" 2>/dev/null
|
||||
else
|
||||
cp -Rf "$create_conf" "/etc/$create_conf_name" 2>/dev/null
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user