We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8183789 commit ca07bd4Copy full SHA for ca07bd4
raspotify/DEBIAN/postinst
@@ -3,8 +3,9 @@
3
set -e
4
5
# Secure the config file, there may be credentials in there
6
-if [ "$1" = "configure" ]; then
+if [ -f /etc/default/raspotify ]; then
7
chmod 600 /etc/default/raspotify -f
8
+ chown root:root /etc/default/raspotify -f
9
fi
10
11
# Make sure `--linear-volume' is properly renamed
0 commit comments