summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-backup/rear/rear-2.7.ebuild')
-rw-r--r--app-backup/rear/rear-2.7.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/app-backup/rear/rear-2.7.ebuild b/app-backup/rear/rear-2.7.ebuild
index ef577486b642..4af6aaf7f73d 100644
--- a/app-backup/rear/rear-2.7.ebuild
+++ b/app-backup/rear/rear-2.7.ebuild
@@ -47,10 +47,16 @@ src_install() {
}
pkg_postinst() {
- if use udev ; then
+ if use udev; then
udev_reload
fi
optfeature "saving backups on smb/cifs servers" net-fs/cifs-utils
optfeature "encrypting backups" dev-libs/openssl
}
+
+pkg_postrm() {
+ if use udev; then
+ udev_reload
+ fi
+}