summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/freifunk-mapupdate/ipkg/postinst
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2011-09-24 20:15:26 +0000
committerManuel Munz <freifunk@somakoma.de>2011-09-24 20:15:26 +0000
commit42a129f669159eee467e1198bcd84f38257d14d3 (patch)
treee783ad1e13230cf12e8e3305974f4e75d4e63f0d /contrib/package/freifunk-mapupdate/ipkg/postinst
parentbf49f78599a006a9d136d9fd83cecc5d8a5afb1a (diff)
contrib/package: Add update script for freifunkmap
Diffstat (limited to 'contrib/package/freifunk-mapupdate/ipkg/postinst')
-rw-r--r--contrib/package/freifunk-mapupdate/ipkg/postinst4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/package/freifunk-mapupdate/ipkg/postinst b/contrib/package/freifunk-mapupdate/ipkg/postinst
new file mode 100644
index 0000000000..284469730c
--- /dev/null
+++ b/contrib/package/freifunk-mapupdate/ipkg/postinst
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -n "${IPKG_INSTROOT}" ] || {
+ ( . /etc/uci-defaults/freifunk-mapupdate ) && rm -f /etc/uci-defaults/freifunk-mapupdate
+}