🗃️ Committing everything that changed 🗃️

This commit is contained in:
casjay 2022-10-19 18:03:44 -04:00
parent efec7e38c5
commit 97a64c01f8
No known key found for this signature in database
GPG Key ID: 4F765975C1F0EE5F

View File

@ -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