Annotation of /smage/branches/alx-0_6_0/core/mage-release/mage-release-0.6.8-r1.smage2
Parent Directory | Revision Log
Revision 6755 -
(hide annotations)
(download)
Thu Jul 16 15:41:48 2015 UTC (8 years, 10 months ago) by niro
File size: 643 byte(s)
Thu Jul 16 15:41:48 2015 UTC (8 years, 10 months ago) by niro
File size: 643 byte(s)
-ver bumpt to 0.6.8-r1
1 | niro | 6755 | # $Id$ |
2 | |||
3 | PNAME="mage-release" | ||
4 | PVER="0.6.8" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCATEGORIE="sys-apps" | ||
8 | |||
9 | DESCRIPTION="Release version file." | ||
10 | HOMEPAGE="http://magellan-linux.net/" | ||
11 | |||
12 | DEPEND="" | ||
13 | |||
14 | sminclude alx | ||
15 | |||
16 | src_install() | ||
17 | { | ||
18 | cd ${SRCDIR} | ||
19 | |||
20 | # always overwrite /etc/mageversion and /etc/system-release | ||
21 | install -d ${BINDIR}/etc/env.d || die | ||
22 | echo 'CONFIG_PROTECT_MASK="/etc/mageversion /etc/system-release"' >> ${BINDIR}/etc/env.d/01release || die | ||
23 | echo "${PVER}" > ${BINDIR}/etc/mageversion || die | ||
24 | echo "ALX Thinclient release ${PVER} (alx-ng)" > ${BINDIR}/etc/system-release || die | ||
25 | } | ||
26 | |||
27 | preinstall() | ||
28 | { | ||
29 | add_conf_prot_mask /etc/env.d /etc/mageversion /etc/system-release | ||
30 | } |