Magellan Linux

Contents of /smage/trunk/extras/bash/alx/bash.custom

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3 - (show annotations) (download)
Sun Jan 11 00:48:53 2009 UTC (15 years, 3 months ago) by niro
File size: 427 byte(s)
-import alx-0.9.0
1 # $Header: /alx-cvs/smage-eglibc/bash/alx/bash.custom,v 1.1 2008/02/27 09:51:46 niro Exp $
2
3 # rename old functions
4 if [[ ! -z $(typeset -f preinstall) ]]
5 then
6 old_preinstall=old_$(typeset -f preinstall)
7 eval ${old_preinstall}
8 fi
9
10 # functions to include in the mage file
11 SPECIAL_FUNCTIONS="${SPECIAL_FUNCTIONS} old_preinstall"
12
13 # mask some /etc/ files
14 preinstall()
15 {
16
17 old_preinstall
18 add_conf_prot_mask /etc/bash /etc/skel
19 }