authentic2.postinst: fix syntax error
This commit is contained in:
parent
cc86392e10
commit
df4d646bad
|
@ -27,7 +27,7 @@ case "$1" in
|
|||
$AUTHENTIC_USER
|
||||
echo "..done" >&2
|
||||
fi
|
||||
if [ -f "/etc/$NAME/secret"]; then
|
||||
if [ -f "/etc/$NAME/secret" ]; then
|
||||
echo "export SECRET_KEY='`</dev/urandom tr -dc [:alnum:]-_\!\%\^:\; | head -c70`'" > /etc/$NAME/secret
|
||||
chmod 0600 /etc/$NAME/secret
|
||||
chown $AUTHENTIC_USER:$AUTHENTIC_GROUP /etc/$NAME/secret
|
||||
|
@ -65,10 +65,4 @@ case "$1" in
|
|||
;;
|
||||
esac
|
||||
|
||||
|
||||
# dh_installdeb will replace this with shell code automatically
|
||||
# generated by other debhelper scripts.
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Reference in New Issue