mirror of
https://github.com/outbackdingo/scratchpkg.git
synced 2026-03-20 00:13:27 +00:00
updated
This commit is contained in:
@@ -216,7 +216,6 @@ extract_opt() {
|
||||
*) OPTS+=($opt) ;;
|
||||
esac
|
||||
done
|
||||
echo "${OPTS[@]}"
|
||||
}
|
||||
|
||||
parse_opts() {
|
||||
|
||||
8
scratch
8
scratch
@@ -844,9 +844,13 @@ if [ "$mode" = "install" ]; then
|
||||
}
|
||||
parseopt ${ARG[@]}
|
||||
if [ "$NO_DEP" ]; then
|
||||
portinstall "${PKG[@]}" -i ${OPTS[@]}
|
||||
for pkg in "${PKG[@]}"; do
|
||||
portinstall "$pkg" -i ${OPTS[@]}
|
||||
done
|
||||
elif [ "$REINSTALL" ]; then
|
||||
portinstall "${PKG[@]}" -r ${OPTS[@]}
|
||||
for pkg in "${PKG[@]}"; do
|
||||
portinstall "$pkg" -r ${OPTS[@]}
|
||||
done
|
||||
else
|
||||
for pkg in ${PKG[@]}; do # check for existence of package
|
||||
if ! getportpath "$pkg" >/dev/null; then
|
||||
|
||||
Reference in New Issue
Block a user