diff options
author | Victor | 2015-06-08 20:08:33 +0200 |
---|---|---|
committer | Victor | 2015-06-08 20:08:33 +0200 |
commit | 8134a4b809c901e7693f2ce876d4ba0a479e3c58 (patch) | |
tree | 44f8d4e687d7ec19ed9fc2501ad8f9859718bdf3 /edis.install | |
download | aur-8134a4b809c901e7693f2ce876d4ba0a479e3c58.tar.gz |
Migrated from AUR 3
Diffstat (limited to 'edis.install')
-rw-r--r-- | edis.install | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/edis.install b/edis.install new file mode 100644 index 000000000000..27ea8d423708 --- /dev/null +++ b/edis.install @@ -0,0 +1,21 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + newVersion=$1 + oldVersion=$2 + + if [ $newVersion = 2.0 ]; then + for user in /home/*; do + edisDir=/home/${user}/.edis + [ -d $edisDir ] && rm $edisDir + done + fi + + post_install +} + +post_remove() { + post_install +} |