mirror of
				https://github.com/shivammathur/setup-php.git
				synced 2025-10-31 15:26:23 +07:00 
			
		
		
		
	Update ppa filename to match apt-add-repository
This commit is contained in:
		| @ -129,7 +129,8 @@ add_list() { | |||||||
|     arch=$(dpkg --print-architecture) |     arch=$(dpkg --print-architecture) | ||||||
|     [ -e "$key_source" ] && key_file=$key_source || key_file="$key_dir"/"${ppa/\//-}"-keyring.gpg |     [ -e "$key_source" ] && key_file=$key_source || key_file="$key_dir"/"${ppa/\//-}"-keyring.gpg | ||||||
|     add_key "$ppa" "$ppa_url" "$package_dist" "$key_source" "$key_file" |     add_key "$ppa" "$ppa_url" "$package_dist" "$key_source" "$key_file" | ||||||
|     echo "deb [arch=$arch signed-by=$key_file] $ppa_url $package_dist $branches" | sudo tee -a "$list_dir"/"${ppa/\//-}".list >/dev/null 2>&1 |     sudo rm -rf "$list_dir"/"${ppa/\//-}".list || true | ||||||
|  |     echo "deb [arch=$arch signed-by=$key_file] $ppa_url $package_dist $branches" | sudo tee -a "$list_dir"/"${ppa%%/*}"-"$ID"-"${ppa#*/}"-"$package_dist".list >/dev/null 2>&1 | ||||||
|     update_lists "$ppa" "$ppa_search" |     update_lists "$ppa" "$ppa_search" | ||||||
|     . /etc/os-release |     . /etc/os-release | ||||||
|   fi |   fi | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Shivam Mathur
					Shivam Mathur