Skip to content

Commit

Permalink
media-video/vlc: Fix pkg_postrm
Browse files Browse the repository at this point in the history
Thanks-to: Arfrever
Package-Manager: Portage-2.3.24, Repoman-2.3.6
  • Loading branch information
a17r committed Feb 14, 2018
1 parent 416e4e0 commit 3cd5824
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions media-video/vlc/vlc-2.2.8-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -470,8 +470,8 @@ pkg_postinst() {
}

pkg_postrm() {
if [[ -e /usr/lib64/vlc/plugins/plugins.dat ]]; then
rm /usr/lib64/vlc/plugins/plugins.dat || die "Failed to rm plugins.dat"
if [[ -e /usr/$(get_libdir)/vlc/plugins/plugins.dat ]]; then
rm /usr/$(get_libdir)/vlc/plugins/plugins.dat || die "Failed to rm plugins.dat"
fi

gnome2_icon_cache_update
Expand Down
4 changes: 2 additions & 2 deletions media-video/vlc/vlc-3.0.0-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -489,8 +489,8 @@ pkg_postinst() {
}

pkg_postrm() {
if [[ -e /usr/lib64/vlc/plugins/plugins.dat ]]; then
rm /usr/lib64/vlc/plugins/plugins.dat || die "Failed to rm plugins.dat"
if [[ -e /usr/$(get_libdir)/vlc/plugins/plugins.dat ]]; then
rm /usr/$(get_libdir)/vlc/plugins/plugins.dat || die "Failed to rm plugins.dat"
fi

gnome2_icon_cache_update
Expand Down
4 changes: 2 additions & 2 deletions media-video/vlc/vlc-3.0.9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -489,8 +489,8 @@ pkg_postinst() {
}

pkg_postrm() {
if [[ -e /usr/lib64/vlc/plugins/plugins.dat ]]; then
rm /usr/lib64/vlc/plugins/plugins.dat || die "Failed to rm plugins.dat"
if [[ -e /usr/$(get_libdir)/vlc/plugins/plugins.dat ]]; then
rm /usr/$(get_libdir)/vlc/plugins/plugins.dat || die "Failed to rm plugins.dat"
fi

gnome2_icon_cache_update
Expand Down
4 changes: 2 additions & 2 deletions media-video/vlc/vlc-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -489,8 +489,8 @@ pkg_postinst() {
}

pkg_postrm() {
if [[ -e /usr/lib64/vlc/plugins/plugins.dat ]]; then
rm /usr/lib64/vlc/plugins/plugins.dat || die "Failed to rm plugins.dat"
if [[ -e /usr/$(get_libdir)/vlc/plugins/plugins.dat ]]; then
rm /usr/$(get_libdir)/vlc/plugins/plugins.dat || die "Failed to rm plugins.dat"
fi

gnome2_icon_cache_update
Expand Down

0 comments on commit 3cd5824

Please sign in to comment.