mirror of
https://aur.archlinux.org/ocp-git.git
synced 2025-05-10 03:54:28 -04:00
Initial import
This commit is contained in:
commit
6acb873e14
3 changed files with 97 additions and 0 deletions
25
ocp-git.install
Normal file
25
ocp-git.install
Normal file
|
@ -0,0 +1,25 @@
|
|||
infodir=usr/share/info
|
||||
|
||||
post_install() {
|
||||
[ -x usr/bin/install-info ] || return 0
|
||||
install-info $infodir/ocp.info.gz $infodir/dir 2> /dev/null
|
||||
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
|
||||
update-desktop-database -q
|
||||
echo
|
||||
echo Please note that you need to rebuild this package after installing any of the optional dependencies.
|
||||
echo
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
pre_remove() {
|
||||
install-info --delete $infodir/ocp.info.gz $infodir/dir 2> /dev/null
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
update-desktop-database -q
|
||||
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue