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 c7d3965 commit d19228bCopy full SHA for d19228b
raspotify/DEBIAN/postinst
@@ -2,6 +2,11 @@
2
3
set -e
4
5
+# Secure the config file, there may be credentials in there
6
+if [ "$1" = "configure" ]; then
7
+ chmod 600 /etc/default/raspotify -f
8
+fi
9
+
10
# Make sure `--linear-volume' is properly renamed
11
if [ -f /etc/default/raspotify ]; then
12
sed -i 's/--linear-volume/--volume-ctrl linear/' /etc/default/raspotify
0 commit comments