diff options
author | Olivier Blin <oblin@mandriva.com> | 2010-04-30 16:51:56 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2010-04-30 16:51:56 +0000 |
commit | c929f06f48d3e57a7f6a7a463de6730d28c135b1 (patch) | |
tree | f6337bb5e31ebf239bea8d34999c01086e0c19dd | |
parent | 76bfef958e89c95069e5c38d6bff860c7dd23f5c (diff) | |
download | mgaonline-c929f06f48d3e57a7f6a7a463de6730d28c135b1.tar mgaonline-c929f06f48d3e57a7f6a7a463de6730d28c135b1.tar.gz mgaonline-c929f06f48d3e57a7f6a7a463de6730d28c135b1.tar.bz2 mgaonline-c929f06f48d3e57a7f6a7a463de6730d28c135b1.tar.xz mgaonline-c929f06f48d3e57a7f6a7a463de6730d28c135b1.zip |
install extended maintenance helper only on supported distributions (2008.0, 2009.0, 2010.0)
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | NEWS | 3 |
2 files changed, 8 insertions, 1 deletions
@@ -7,6 +7,10 @@ MDKUPDATE = mdkupdate MDKAPPLET = mdkapplet SUBDIRS = po +MANDRIVA_VERSION = $(shell awk 'BEGIN { RS=","; FS="=" } $$1 == "version" { print $$2 }' /etc/product.id) +EXTENDED_VERSIONS = 2008.0 2009.0 2010.0 +EXTENDED_HELPER = $(if $(filter $(EXTENDED_VERSIONS),$(MANDRIVA_VERSION)),mdkapplet-extended-maintenance-helper) + PREFIX = / DATADIR = $(PREFIX)/usr/share ICONSDIR = $(DATADIR)/icons @@ -55,7 +59,7 @@ install: all mkdir -p $(PREFIX)/etc/pam.d install -m644 pam.d_urpmi.update $(PREFIX)/etc/pam.d/urpmi.update ln -sf consolehelper $(PREFIX)/usr/bin/urpmi.update - for i in mdkapplet-config mdkapplet-enterprise-update-helper mdkapplet-restricted-helper mdkapplet-upgrade-helper mdkapplet-extended-maintenance-helper; do \ + for i in mdkapplet-config mdkapplet-enterprise-update-helper mdkapplet-restricted-helper mdkapplet-upgrade-helper $(EXTENDED_HELPER); do \ install -m755 $$i $(SBINDIR); \ ln -sf consolehelper $(PREFIX)/usr/bin/$$i; \ done @@ -1,5 +1,8 @@ - mdkapplet o do not offer distribution upgrade on OEM Philco systems +- mdkapplet-extended-maintenance-helper + o install only on distributions with extended maintenance + (2008.0, 2009.0, 2010.0) Version 2.77.15.17 - 10 February 2010, Thierry Vignaud - mdkapplet |