Template
1
0
Fork 0
mirror of https://aur.archlinux.org/ocp-git.git synced 2025-05-09 11:34:27 -04:00

Update to ocp-git-0.2.99.r66.68249a1

This commit is contained in:
Xavier Moffett 2022-09-23 12:29:59 -04:00
parent c2d88846b8
commit 38f650ee0f
3 changed files with 32 additions and 4 deletions

21
ocp.install Normal file
View file

@ -0,0 +1,21 @@
infodir=usr/share/info
post_install() {
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
update-desktop-database -q
[ -x usr/bin/install-info ] || return 0
install-info $infodir/ocp.info.gz $infodir/dir 2> /dev/null
}
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
}