Contents of /mage/branches/alx-0_6_0/app-alx/alxconfig-ng-alx/alxconfig-ng-alx-20060908-r19.mage
Parent Directory
|
Revision Log
Revision 2789 -
(show annotations)
(download)
Mon Aug 29 09:09:17 2011 UTC (12 years, 9 months ago) by niro
File size: 1179 byte(s)
Mon Aug 29 09:09:17 2011 UTC (12 years, 9 months ago) by niro
File size: 1179 byte(s)
-added transitional packages for upgrades of 0.5.7->0.6.0
1 | # $Header: /magellan-cvs/magellan-src/mage/usr/lib/mage/smage2.sh,v 1.36 2005/08/28 19:23:04 niro Exp $ |
2 | |
3 | PKGNAME="alxconfig-ng-alx-20060908-${ARCH}-r19" |
4 | STATE="stable" |
5 | |
6 | DESCRIPTION="alxconfig-ng, configures alx clients via mysql." |
7 | HOMEPAGE="http://www.magellan-linux.net" |
8 | |
9 | PKGTYPE="" |
10 | MAGE_TARGETS="-alx" |
11 | |
12 | minclude alx |
13 | |
14 | DEPEND="" |
15 | |
16 | SDEPEND="" |
17 | |
18 | PROVIDE="" |
19 | |
20 | preinstall () |
21 | { |
22 | add_conf_prot_mask /etc/rc.d /etc/alxconfig-ng/skel /etc/alxconfig-ng/ica-sessions/icons/default.png /etc/alxconfig-ng/ica-sessions/icons/default_item.png /etc/alxconfig-ng/ica-sessions/icons/sysinfo.png /etc/sysconfig/hwsetup |
23 | } |
24 | |
25 | postinstall () |
26 | { |
27 | [ -f /etc/alxconfig-ng/._cfg????_config.rc ] && rm /etc/alxconfig-ng/._cfg????_config.rc; |
28 | [ -x ${MLIBDIR}/museradd ] && ${MLIBDIR}/museradd -o "-g users -G audio,video,uucp -d /home/station -s /bin/bash" station; |
29 | [ ! -d /home/station ] && install -o station -g users -d /home/station; |
30 | echo "exec startfluxbox" > /home/station/.xinitrc; |
31 | if [ -x /sbin/rc-config ]; then |
32 | /sbin/rc-config add alxsetstate; |
33 | /sbin/rc-config add alxsettings; |
34 | /sbin/rc-config del xdm-alx; |
35 | /sbin/rc-config default 5; |
36 | fi |
37 | } |
38 | |
39 | |
40 |