mirror of https://github.com/SuperBFG7/ympd
Fix: minor modifications
This commit is contained in:
parent
61a69ee06f
commit
fb14d8454d
|
@ -6,8 +6,6 @@ getent group mympd > /dev/null
|
|||
getent passwd mympd > /dev/null
|
||||
[ "$?" = "2" ] && useradd -r mympd -g mympd -d /var/lib/mympd -s /usr/sbin/nologin
|
||||
|
||||
|
||||
|
||||
echo "Trying to link musicdir to library"
|
||||
if [ -f /etc/mpd.conf ]
|
||||
then
|
||||
|
|
|
@ -14,7 +14,7 @@ function minify {
|
|||
return
|
||||
fi
|
||||
|
||||
if [ "$TYPE" == "html" ]
|
||||
if [ "$TYPE" = "html" ]
|
||||
then
|
||||
perl -pe 's/^\s*//gm; s/\s*$//gm' $SRC > $DST
|
||||
ERROR="$?"
|
||||
|
|
Loading…
Reference in New Issue