2006-01-26 00:43:58 +03:00
|
|
|
#!/bin/sh
|
|
|
|
## The installer finish script.
|
|
|
|
|
2009-08-26 12:58:26 +04:00
|
|
|
target=$1
|
2008-03-29 18:40:49 +03:00
|
|
|
|
2009-08-26 12:58:26 +04:00
|
|
|
if [ -z "$target" ]; then
|
|
|
|
echo "Usage: $0 <volume>"
|
2008-03-29 18:40:49 +03:00
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2009-08-26 12:58:26 +04:00
|
|
|
if [ ! -d "$target" ]; then
|
|
|
|
echo "$target isn't mounted"
|
2008-03-29 18:40:49 +03:00
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2013-09-30 00:09:00 +04:00
|
|
|
mkdir -p "$target/system/cache/tmp"
|
2008-03-29 18:40:49 +03:00
|
|
|
|
2009-09-08 13:58:51 +04:00
|
|
|
# remove Installer link
|
|
|
|
rm -f "$target/home/Desktop/Installer"
|
2006-01-26 00:43:58 +03:00
|
|
|
|
2009-08-26 12:58:26 +04:00
|
|
|
makebootable "$target"
|