source: ipk/source.sh4/tools_kravencfg/CONTROL/postinst@ 46249

Last change on this file since 46249 was 46249, checked in by obi, 4 years ago

fix ipkg postinst

File size: 313 bytes
RevLine 
[35774]1#!/bin/sh
[35778]2INSTDIR="$1"
[35774]3
[35780]4chmod 644 $INSTDIR/usr/local/share/titan/plugins/kravencfg/*
5chmod 755 $INSTDIR/usr/local/share/titan/plugins/kravencfg/kravencfg.sh
[35774]6
[46249]7if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
[43292]8 opkg update
[45958]9 opkg install titan-plugin-tools-kravencfg --dest $1
[43292]10fi
11
12exit 0
Note: See TracBrowser for help on using the repository browser.