Browse Source

fix #801 use --home option

Shinsuke Sugaya 8 years ago
parent
commit
d04e58e97c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/packaging/common/scripts/preinst

+ 1 - 1
src/packaging/common/scripts/preinst

@@ -45,7 +45,7 @@ case "$1" in
                     --ingroup "$FESS_GROUP" \
                     --ingroup "$FESS_GROUP" \
                     --disabled-password \
                     --disabled-password \
                     --shell /bin/false \
                     --shell /bin/false \
-                    -d "$FESS_USER_HOME"  \
+                    --home "$FESS_USER_HOME"  \
                     "$FESS_USER"
                     "$FESS_USER"
             echo " OK"
             echo " OK"
         fi
         fi