From 71306947ea3cdc01ca804d1a697339d5a3fb27c4 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Wed, 23 Jul 2008 11:32:53 +0000 Subject: themes: Add registration of themes at package installation time --- themes/openwrt.org/ipkg/postinst | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 themes/openwrt.org/ipkg/postinst (limited to 'themes/openwrt.org/ipkg/postinst') diff --git a/themes/openwrt.org/ipkg/postinst b/themes/openwrt.org/ipkg/postinst new file mode 100755 index 0000000000..48ea52273f --- /dev/null +++ b/themes/openwrt.org/ipkg/postinst @@ -0,0 +1,4 @@ +#!/bin/sh +[ -n "${IPKG_INSTROOT}" ] || { + ( . /etc/uci-defaults/luci-theme-openwrt ) && rm -f /etc/uci-defaults/luci-theme-openwrt +} -- cgit v1.2.3