Initial support for multiple additions
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user