summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-ushare/ipkg/postinst
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-09-24 12:46:07 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-09-24 12:46:07 +0000
commit2ba7e61dce255419d33dcb1cb02ca5cf8e8655c1 (patch)
tree2c2a64b0a7ebdfc26fd5a40644527f2475d1a229 /applications/luci-ushare/ipkg/postinst
parent1a4869342a36012db9fb7b59262d75e6e63d34cd (diff)
* luci/applications: add ushare package
Diffstat (limited to 'applications/luci-ushare/ipkg/postinst')
-rw-r--r--applications/luci-ushare/ipkg/postinst4
1 files changed, 4 insertions, 0 deletions
diff --git a/applications/luci-ushare/ipkg/postinst b/applications/luci-ushare/ipkg/postinst
new file mode 100644
index 000000000..f3924893d
--- /dev/null
+++ b/applications/luci-ushare/ipkg/postinst
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -n "${IPKG_INSTROOT}" ] || {
+ ( . /etc/uci-defaults/luci-ushare ) && rm -f /etc/uci-defaults/luci-ushare
+}