[hledger] fix doinst.sh

This commit is contained in:
Gwenhael Le Moine 2021-10-15 09:24:11 +02:00
parent 55f72fa680
commit 59960ecd06
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -87,7 +87,7 @@ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs st
mkdir -p $PKG/install
cat <<EOF > $PKG/install/doinst.sh
#!/bin/bash
[ ! -e /etc/rc.d/rc.hledger-web ] \&\& mv /etc/rc.d/rc.hledger-web.new /etc/rc.d/rc.hledger-web
[ ! -e /etc/rc.d/rc.hledger-web ] && mv /etc/rc.d/rc.hledger-web.new /etc/rc.d/rc.hledger-web
EOF
cat <<EOF > $PKG/install/slack-desc