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

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

fixed var names

File size: 494 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.lliurex"
10        PKG="arc-theme"
11        dpkg-divert --add --package ${PKG} --rename --divert "$NEW_DIVERTED_FILE" "$ORIGINAL_FILE"
12
13        ln -s $LLX_FILE $ORIGINAL_FILE
14
15       
16   ;;
17
18   abort-upgrade|abort-remove|abort-deconfigure)
19   ;;
20
21   *)
22       exit 1
23   ;;
24esac
25
26#DEBHELPER#
27
28exit 0
29
Note: See TracBrowser for help on using the repository browser.