From b9600c647656c4152cf3ca531728675bbcc29a40 Mon Sep 17 00:00:00 2001 From: Joerg Seitter Date: Sat, 16 May 2020 00:48:41 +0200 Subject: avahi: fixed postinst of package and removed unneccesary libintl dependency Signed-off-by: Joerg Seitter --- package/avahi/Makefile | 2 +- package/avahi/files/avahi-daemon.postinst | 8 -------- package/avahi/files/avahi.postinst | 8 ++++++++ 3 files changed, 9 insertions(+), 9 deletions(-) delete mode 100644 package/avahi/files/avahi-daemon.postinst create mode 100644 package/avahi/files/avahi.postinst (limited to 'package') diff --git a/package/avahi/Makefile b/package/avahi/Makefile index c9449baea..a5b7cd081 100644 --- a/package/avahi/Makefile +++ b/package/avahi/Makefile @@ -19,7 +19,7 @@ PKG_OPTS:= dev DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SUBPKGS:= AVAHI LIBAVAHI -PKGSS_AVAHI:= libavahi libdaemon libexpat libintl dbus +PKGSS_AVAHI:= libavahi libdaemon libexpat dbus PKGSB_AVAHI:= dbus PKGSS_LIBAVAHI:= dbus PKGSB_LIBAVAHI:= dbus diff --git a/package/avahi/files/avahi-daemon.postinst b/package/avahi/files/avahi-daemon.postinst deleted file mode 100644 index 8fe8f1e32..000000000 --- a/package/avahi/files/avahi-daemon.postinst +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -. $IPKG_INSTROOT/etc/functions.sh -gid=$(get_next_gid) -add_group netdev $gid -gid2=$(get_next_gid) -add_group avahi $gid2 -add_user avahi $(get_next_uid) $gid2 /tmp -add_rcconf avahi NO diff --git a/package/avahi/files/avahi.postinst b/package/avahi/files/avahi.postinst new file mode 100644 index 000000000..8fe8f1e32 --- /dev/null +++ b/package/avahi/files/avahi.postinst @@ -0,0 +1,8 @@ +#!/bin/sh +. $IPKG_INSTROOT/etc/functions.sh +gid=$(get_next_gid) +add_group netdev $gid +gid2=$(get_next_gid) +add_group avahi $gid2 +add_user avahi $(get_next_uid) $gid2 /tmp +add_rcconf avahi NO -- cgit v1.2.3