1 |
#!/bin/bash |
#!/bin/bash |
2 |
# Magellan Linux Installer Functions (mage.functions.sh) |
# Magellan Linux Installer Functions (mage.functions.sh) |
3 |
# version: 0.3.6-r13 |
# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/mage3.functions.sh,v 1.10 2005-06-01 15:52:33 niro Exp $ |
4 |
|
|
5 |
mage_setup() { |
mage_setup() { |
6 |
install -d $INSTALLDB |
install -d $INSTALLDB |
49 |
do |
do |
50 |
echo "${pathto}§${posix}§${user}§${group}§${M_MTIME}§${md5sum}" \ |
echo "${pathto}§${posix}§${user}§${group}§${M_MTIME}§${md5sum}" \ |
51 |
>> ${DB_ENTRY}/.files |
>> ${DB_ENTRY}/.files |
52 |
touch -m -r ${DB_ENTRY}/.mtime ${pathto} |
touch -c -m -r ${DB_ENTRY}/.mtime ${pathto} |
53 |
done < ${DB_ENTRY}/.files-old |
done < ${DB_ENTRY}/.files-old |
54 |
|
|
55 |
#remove old list |
#remove old list |
80 |
do |
do |
81 |
echo "${pathto}§${posix}§${link}§${M_MTIME}" \ |
echo "${pathto}§${posix}§${link}§${M_MTIME}" \ |
82 |
>> ${DB_ENTRY}/.symlinks |
>> ${DB_ENTRY}/.symlinks |
83 |
touch -m -r ${DB_ENTRY}/.mtime ${pathto} |
touch -c -m -r ${DB_ENTRY}/.mtime ${pathto} |
84 |
done < ${DB_ENTRY}/.symlinks-old |
done < ${DB_ENTRY}/.symlinks-old |
85 |
|
|
86 |
#remove old list |
#remove old list |