aboutsummaryrefslogtreecommitdiff
path: root/net/linuxigd/pkg-plist
diff options
context:
space:
mode:
Diffstat (limited to 'net/linuxigd/pkg-plist')
-rw-r--r--net/linuxigd/pkg-plist4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/linuxigd/pkg-plist b/net/linuxigd/pkg-plist
index 4225626713ef..51906af9d4c6 100644
--- a/net/linuxigd/pkg-plist
+++ b/net/linuxigd/pkg-plist
@@ -3,5 +3,7 @@ etc/linuxigd/dummy.xml
etc/linuxigd/gateconnSCPD.xml
etc/linuxigd/gatedesc.xml
etc/linuxigd/gateicfgSCPD.xml
-etc/upnpd.conf
+@unexec if cmp -s %D/etc/upnpd.conf.sample %D/etc/upnpd.conf; then rm -f %D/etc/upnpd.conf; fi
+etc/upnpd.conf.sample
+@exec if [ ! -f %D/etc/upnpd.conf ]; then cp %D/etc/upnpd.conf.sample %D/etc/upnpd.conf; fi
@dirrm etc/linuxigd