mirror of
https://github.com/outbackdingo/scratchpkg.git
synced 2026-02-05 08:28:00 +00:00
updated
This commit is contained in:
@@ -77,6 +77,7 @@ wget
|
||||
curl
|
||||
httpup
|
||||
scratchpkg
|
||||
rc-init
|
||||
)
|
||||
|
||||
adjustingtoolchain() {
|
||||
@@ -104,13 +105,6 @@ adjustingtoolchain() {
|
||||
sleep 5
|
||||
}
|
||||
|
||||
if [ -n "$1" -a -n "$2" ]; then
|
||||
case $1 in
|
||||
--init) init=$2 ;;
|
||||
*) ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
for i in ${PKG[@]}; do
|
||||
if [[ -d "$INDEX_DIR/$i" ]]; then
|
||||
echo "$i is installed"
|
||||
@@ -159,8 +153,4 @@ for i in ${PKG[@]}; do
|
||||
fi
|
||||
done
|
||||
|
||||
if [ "$init" ]; then
|
||||
scratch -i -p "$init"
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user