* luci/applications: add ushare package
[project/luci.git] / applications / luci-ushare / ipkg / postinst
diff --git a/applications/luci-ushare/ipkg/postinst b/applications/luci-ushare/ipkg/postinst
new file mode 100644 (file)
index 0000000..f392489
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -n "${IPKG_INSTROOT}" ] || {
+       ( . /etc/uci-defaults/luci-ushare ) && rm -f /etc/uci-defaults/luci-ushare
+}