Changeset 202 in MondoRescue for branches/2.05/mindi-failsafe-kernel/install.sh
- Timestamp:
- Dec 14, 2005, 3:53:19 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.05/mindi-failsafe-kernel/install.sh
r30 r202 5 5 exit 1 6 6 fi 7 local=/usr/local8 mkdir -p $local/share/mindi9 mkdir -p $local/sbin10 7 11 cp --parents -pRdf * $local/share/mindi/ 12 exit 0 8 if [ "_$PREFIX" != "_" ]; then 9 local=$PREFIX/usr 10 if [ -f /usr/local/sbin/mindi ]; then 11 echo "WARNING: /usr/local/sbin/mindi exists. You should probably 12 remove it !" 13 fi 14 echo $PATH | grep /usr/sbin > /dev/null || echo "Warning - your PATH env 15 ironmental variable is BROKEN. Please add /usr/sbin to your PATH." 16 else 17 local=/usr/local 18 if [ -f /usr/sbin/mindi ]; then 19 echo "WARNING: /usr/sbin/mindi exists. You should probably remov 20 e the mindi package !" 21 fi 22 echo $PATH | grep $local/sbin > /dev/null || echo "Warning - your PATH e 23 nvironmental variable is BROKEN. Please add $local/sbin to your PATH." 24 25 fi 26 27 echo "mindi-failsafe-kernel will be installed under $local" 28 29 echo "Creating target directories ..." 30 mkdir -p $local/lib/mindi 31 32 echo "Copying files ..." 33 cp -a lib.tar.bz2 vmlinuz $local/lib/mindi/
Note:
See TracChangeset
for help on using the changeset viewer.