diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2012-01-09 13:47:51 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2012-01-09 13:47:51 +0000 |
commit | 7a3611f5caa5e34c1f2b582640f97b733110ae63 (patch) | |
tree | 5b0baf1ad1b36444ffbf73707a377b15fc67692f /community/pcb/install | |
parent | 46783b68621b6ad45cdd9ed64cfa8cdcfbc6f318 (diff) |
Mon Jan 9 13:47:49 UTC 2012
Diffstat (limited to 'community/pcb/install')
-rw-r--r-- | community/pcb/install | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/community/pcb/install b/community/pcb/install deleted file mode 100644 index 62ce80440..000000000 --- a/community/pcb/install +++ /dev/null @@ -1,37 +0,0 @@ -infodir=/usr/share/info -filelist=(pcb.info pcb.info-1 pcb.info-2) - -post_install() { - if [ -x /usr/bin/update-mime-database ]; then - echo Updating mime database... - /usr/bin/update-mime-database /usr/share/mime - fi - if [ -x /usr/bin/update-desktop-database ]; then - echo Updating desktop database.. - /usr/bin/update-desktop-database /usr/share/applications - fi - if [ -x /usr/bin/install-info ]; then - echo Updating info directory... - for file in ${filelist[@]}; do - install-info $infodir/$file $infodir/dir 2> /dev/null - done - fi - /usr/bin/gtk-update-icon-cache -f -t /usr/share/icons/hicolor -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - if [ -x /usr/bin/install-info ]; then - echo Updating info directory... - for file in ${filelist[@]}; do - install-info --delete $infodir/$file $infodir/dir 2> /dev/null - done - fi -} - -post_remove() { - /usr/bin/gtk-update-icon-cache -f -t /usr/share/icons/hicolor -} |