Fix linter

This commit is contained in:
Josué Tille
2023-12-06 11:56:38 +01:00
parent b7b73bbf89
commit cd38b3eae1
2 changed files with 6 additions and 2 deletions

View File

@ -43,8 +43,8 @@ if [ -d "/opt/$app" ]; then
fi
# Move data directory
if [ -d "/home/$app" ]; then
mv "/home/$app/" "$data_dir"
if [ -d /home"/$app" ]; then
mv /home"/$app/" "$data_dir"
fi
# Ensure the user has the correct home dir