source: arc-theme/trunk/fuentes/debian/prerm @ 1812

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

adding diversion to aurorae.qml

File size: 397 bytes
Line 
1#!/bin/bash
2
3set -e
4
5
6if [ "$1" = remove ] ; then
7        PKG="arc-theme"
8        ORIGINAL_FILE="/usr/share/kwin/aurorae/aurorae.qml"
9        NEW_DIVERTED_FILE="/usr/share/kwin/aurorae/aurorae.diverted"
10
11        if [ -L $ORIGINAL_FILE ]; then
12                rm -rf $ORIGINAL_FILE
13
14        dpkg-divert --remove --package ${PKG} --rename --divert "$NEW_DIVERTED_FILE" "$ORIGINAL_UNITY_FILE"
15
16
17
18
19fi
20#DEBHELPER#
21
22exit 0
23
Note: See TracBrowser for help on using the repository browser.