diff options
author | Joonas Niilola <juippis@gentoo.org> | 2022-08-28 11:06:20 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2022-08-28 11:22:10 +0300 |
commit | 7ef85303c2d70b2777c1d91ae5a730652fc2f140 (patch) | |
tree | 66be34451e5257d40e7b33a9df08dac9b4240052 /app-backup | |
parent | app-backup/rear: add 2.7 (diff) | |
download | gentoo-7ef85303c2d70b2777c1d91ae5a730652fc2f140.tar.gz gentoo-7ef85303c2d70b2777c1d91ae5a730652fc2f140.tar.bz2 gentoo-7ef85303c2d70b2777c1d91ae5a730652fc2f140.zip |
app-backup/rear: add pkg_postrm() for udev_reload to 2.7
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-backup')
-rw-r--r-- | app-backup/rear/rear-2.7.ebuild | 8 |
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 +} |