source: arc-theme/trunk/fuentes/debian/postinst @ 1825

Last change on this file since 1825 was 1825, checked in by hectorgh, 4 years ago

diversion is ready

File size: 534 bytes
Line 
1#!/bin/sh
2
3set -e
4case "$1" in
5   configure)
6
7        ORIGINAL_FILE="/usr/share/kwin/aurorae/aurorae.qml"
8        LLX_FILE="/usr/share/kwin/aurorae/aurorae.lliurex"
9        NEW_DIVERTED_FILE="/usr/share/kwin/aurorae/aurorae.diverted"
10        PKG="arc-theme"
11        dpkg-divert --add --package ${PKG} --rename --divert "$NEW_DIVERTED_FILE" "$ORIGINAL_FILE"
12
13        if [ ! -e $ORIGINAL_FILE ]; then
14                ln -s $LLX_FILE $ORIGINAL_FILE
15        fi
16
17       
18   ;;
19
20   abort-upgrade|abort-remove|abort-deconfigure)
21   ;;
22
23   *)
24       exit 1
25   ;;
26esac
27
28#DEBHELPER#
29
30exit 0
31
Note: See TracBrowser for help on using the repository browser.