15 lines
360 B
Plaintext
Executable File
15 lines
360 B
Plaintext
Executable File
#
|
|
# Creates the list of files in the base. Assumes whole system is on the
|
|
# same partition as the root.
|
|
find / -xdev ! -type d | sed 's/^\///' > complete
|
|
sort -o complete complete
|
|
/bin/rm -f xtra;
|
|
touch xtra;
|
|
for i in /install/installed/*; do
|
|
if test -f $i; then
|
|
cat $i >> xtra
|
|
fi
|
|
done
|
|
sort -o xtra xtra
|
|
comm -23 complete xtra > /install/installed/base
|