瀏覽代碼

fix #801 use --home option

Shinsuke Sugaya 8 年之前
父節點
當前提交
e0522a9d5f
共有 1 個文件被更改,包括 1 次插入1 次删除
  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