X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=vinstall.sh;h=143e8850a3383917fa4409d25682fb83ba99efd2;hb=24a6e4cbea12edb878c93e525f35887b65c5bf8c;hp=a6cb6b44801271196ad62c52be49d80bc32034b3;hpb=2d4111ef3e3eb3811df95b139aac66b61c3ad5bf;p=mpd-sima.git diff --git a/vinstall.sh b/vinstall.sh index a6cb6b4..143e885 100755 --- a/vinstall.sh +++ b/vinstall.sh @@ -37,19 +37,21 @@ PIP_OPTIONS="" pip $PIP_OPTIONS install --pre python-musicpd || exit 1 +echo Installing mpd-siuma +$(dirname $0)/setup.py --quiet install || exit 1 + deactivate -SIMA_LAUNCHER=$(readlink -f $(dirname $0))/launch -SIMA_VLAUNCHER=$(readlink -f $(dirname $0))/vlaunch -[ -x "$SIMA_LAUNCHER" ] || { echo "$SIMA_LAUNCHER not available"; exit 1; } +SIMA_LAUNCHER=mpd-sima +SIMA_VLAUNCHER=$(readlink -f $(dirname $0))/vmpd-sima cat << EOF > $SIMA_VLAUNCHER #!/bin/sh . $INSTALL_DIR/venv/bin/activate -python $SIMA_LAUNCHER "\$@" +$SIMA_LAUNCHER "\$@" EOF chmod +x $SIMA_VLAUNCHER -echo +echo # vim: fileencoding=utf8