Fix: minor modifications

This commit is contained in:
jcorporation 2019-01-21 21:01:25 +00:00
parent 61a69ee06f
commit fb14d8454d
2 changed files with 1 additions and 3 deletions

2
debian/postinst vendored
View File

@ -6,8 +6,6 @@ getent group mympd > /dev/null
getent passwd mympd > /dev/null getent passwd mympd > /dev/null
[ "$?" = "2" ] && useradd -r mympd -g mympd -d /var/lib/mympd -s /usr/sbin/nologin [ "$?" = "2" ] && useradd -r mympd -g mympd -d /var/lib/mympd -s /usr/sbin/nologin
echo "Trying to link musicdir to library" echo "Trying to link musicdir to library"
if [ -f /etc/mpd.conf ] if [ -f /etc/mpd.conf ]
then then

View File

@ -14,7 +14,7 @@ function minify {
return return
fi fi
if [ "$TYPE" == "html" ] if [ "$TYPE" = "html" ]
then then
perl -pe 's/^\s*//gm; s/\s*$//gm' $SRC > $DST perl -pe 's/^\s*//gm; s/\s*$//gm' $SRC > $DST
ERROR="$?" ERROR="$?"