Merge pull request #15371 from farmergreg/21.02-family-dns

[21.02] net/family-dns: Correct Reference to IPKG_INSTROOT
This commit is contained in:
Josef Schlehofer 2021-04-08 23:28:05 +02:00 committed by GitHub
commit 365ce46075
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=family-dns
PKG_VERSION:=1.0.0
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_LICENSE:=MIT
PKG_MAINTAINER:=Gregory L. Dietsche <Gregory.Dietsche@cuw.edu>
@ -47,7 +47,7 @@ endef
define Package/family-dns/prerm
#!/bin/sh
if [ -z "$${IPGK_INSTROOT}" ]; then
if [ -z "$${IPKG_INSTROOT}" ]; then
/usr/sbin/family-dns-update uninstall
fi
exit 0