Selaa lähdekoodia

fix #801 use --home option

Shinsuke Sugaya 8 vuotta sitten
vanhempi
commit
e0522a9d5f
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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" \
                     --disabled-password \
                     --shell /bin/false \
-                    -d "$FESS_USER_HOME"  \
+                    --home "$FESS_USER_HOME"  \
                     "$FESS_USER"
             echo " OK"
         fi