diff --git a/scripts/upgrade b/scripts/upgrade index 476ef6a..40df97c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -110,6 +110,7 @@ fi # Move data directory if [ -e "/home/""$app" ] && [ ! -e $datadir ]; then mv "/home/""$app" "$datadir" + usermod -d "$datadir" $app fi #=================================================