diff options
author | sputnick | 2015-06-18 23:40:21 +0200 |
---|---|---|
committer | sputnick | 2015-06-18 23:40:21 +0200 |
commit | afa5466a9707617f9e508b78b1a45879f85934d6 (patch) | |
tree | ab93fc74d62c5cb3d148810797348c2915669f00 /fortune-mod-bashfr.install | |
download | aur-afa5466a9707617f9e508b78b1a45879f85934d6.tar.gz |
Initial fortune-mod-bashfr commit
Diffstat (limited to 'fortune-mod-bashfr.install')
-rwxr-xr-x | fortune-mod-bashfr.install | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/fortune-mod-bashfr.install b/fortune-mod-bashfr.install new file mode 100755 index 000000000000..f98e7bf2f67a --- /dev/null +++ b/fortune-mod-bashfr.install @@ -0,0 +1,16 @@ +post_install() { + true +} + +post_upgrade() { + rm -f /etc/cron.daily/bashfr +} + +pre_remove() { + /bin/rm -f /etc/cron.weekly/bashfr /usr/share/fortune/fr/bashfr.dat /usr/share/fortune/fr/bashfr +} + +op=$1 +shift + +$op "$@" |