Skip to content

Commit

Permalink
Update postinst
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonLG1979 committed Nov 26, 2021
1 parent 8183789 commit ca07bd4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion raspotify/DEBIAN/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
set -e

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

# Make sure `--linear-volume' is properly renamed
Expand Down

0 comments on commit ca07bd4

Please sign in to comment.