diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-27 21:49:48 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-27 21:49:48 +0700 |
commit | 832758eb507767e97d0d87c6adbaada4e2132eaf (patch) | |
tree | 14b6c15674dea94e6f3ed311bb64d52c823db905 /network/avahi | |
parent | e23eac2ae409d796088d0aaa7efc99956bef2b17 (diff) | |
download | slackbuilds-832758eb507767e97d0d87c6adbaada4e2132eaf.tar.gz |
network/avahi: Fix path to python3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/avahi')
-rw-r--r-- | network/avahi/avahi.SlackBuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/network/avahi/avahi.SlackBuild b/network/avahi/avahi.SlackBuild index 87ed347164..b0d58a9d9b 100644 --- a/network/avahi/avahi.SlackBuild +++ b/network/avahi/avahi.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=avahi VERSION=${VERSION:-0.8} -BUILD=${BUILD:-4} +BUILD=${BUILD:-5} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -167,6 +167,8 @@ mv $PKG/etc/rc.d/rc.avahidaemon $PKG/etc/rc.d/rc.avahidaemon.new mv $PKG/etc/rc.d/rc.avahidnsconfd $PKG/etc/rc.d/rc.avahidnsconfd.new mv $PKG/etc/avahi/avahi-daemon.conf $PKG/etc/avahi/avahi-daemon.conf.new +sed -i "s|#!python3|#!/usr/bin/python3|g" $PKG/usr/bin/avahi-{discover,bookmarks} + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a LICENSE docs/* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |