source: ipk/source/skinsdefault_default/CONTROL/postrm @ 39117

Last change on this file since 39117 was 23640, checked in by nit, 10 years ago
File size: 341 bytes
Line 
1#!/bin/sh
2INSTDIR="$1"
3
4if [ "$INSTDIR" == "/var" ]; then
5        rm -rf "$INSTDIR/usr/local/share/titan/skin/default"
6
7        echo "restore default skin"
8        ln -s /lib/titan/default "$INSTDIR/usr/local/share/titan/skin/default"
9        rm -rf "$INSTDIR/etc/titan/skinconfig"
10        cp -a /lib/titan/default/skinconfig.default "$INSTDIR/etc/titan/skinconfig"
11fi
12
13exit 0
Note: See TracBrowser for help on using the repository browser.