Skip to content

Commit ca07bd4

Browse files
committed
Update postinst
1 parent 8183789 commit ca07bd4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

raspotify/DEBIAN/postinst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
set -e
44

55
# Secure the config file, there may be credentials in there
6-
if [ "$1" = "configure" ]; then
6+
if [ -f /etc/default/raspotify ]; then
77
chmod 600 /etc/default/raspotify -f
8+
chown root:root /etc/default/raspotify -f
89
fi
910

1011
# Make sure `--linear-volume' is properly renamed

0 commit comments

Comments
 (0)