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
|
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
|
||||||
|
|
|
@ -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="$?"
|
||||||
|
|
Loading…
Reference in New Issue