source:
arc-theme/trunk/fuentes/debian/prerm
@
1813
Last change on this file since 1813 was 1813, checked in by , 5 years ago | |
---|---|
File size: 391 bytes |
Line | |
---|---|
1 | #!/bin/bash |
2 | |
3 | set -e |
4 | |
5 | |
6 | if [ "$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_FILE" |
15 | |
16 | |
17 | |
18 | |
19 | fi |
20 | #DEBHELPER# |
21 | |
22 | exit 0 |
23 |
Note: See TracBrowser
for help on using the repository browser.