summaryrefslogtreecommitdiff
path: root/pcr/openrc-misc/networkmanager.install
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/openrc-misc/networkmanager.install')
-rw-r--r--pcr/openrc-misc/networkmanager.install3
1 files changed, 2 insertions, 1 deletions
diff --git a/pcr/openrc-misc/networkmanager.install b/pcr/openrc-misc/networkmanager.install
index c4c741cdf..c634a0a68 100644
--- a/pcr/openrc-misc/networkmanager.install
+++ b/pcr/openrc-misc/networkmanager.install
@@ -8,7 +8,8 @@ post_install() {
post_upgrade() {
# For transition from old nm-openrc
- rc-update del networkmanager
+ oldpkgver=${2%-*}
+ [ "$oldpkgver" -lt 20150118 ] && rc-update del networkmanager
post_install "$1"
}