Initial support for multiple additions
This commit is contained in:
parent
4572fbcbc8
commit
1ffae99efd
@ -156,7 +156,6 @@ checkUpdates() {
|
||||
}
|
||||
|
||||
addPackage() {
|
||||
scp $ssh_options $remote_repository/$repo_db_file $remote_repository/$repo_db_filesfile $run_directory_path/
|
||||
createPackage $1
|
||||
addPackageToRepo $1
|
||||
}
|
||||
@ -199,7 +198,13 @@ if [ "$1" = "" ]; then
|
||||
checkUpdates
|
||||
elif [ "$1" = "add" ]; then
|
||||
init
|
||||
addPackage $2
|
||||
scp $ssh_options $remote_repository/$repo_db_file $remote_repository/$repo_db_filesfile $run_directory_path/
|
||||
for arg in "$@"; do
|
||||
if [[ $arg = "add" ]]; then
|
||||
continue
|
||||
fi
|
||||
addPackage $arg
|
||||
done
|
||||
elif [ "$1" = "clean" ]; then
|
||||
clean
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user