Skip to content

Commit 94a275c

Browse files
committed
Update ppa filename to match apt-add-repository
1 parent 235015a commit 94a275c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ add_list() {
143143
arch=$(dpkg --print-architecture)
144144
[ -e "$key_source" ] && key_file=$key_source || key_file="$key_dir"/"${ppa/\//-}"-keyring.gpg
145145
add_key "$ppa" "$ppa_url" "$package_dist" "$key_source" "$key_file"
146-
echo "deb [arch=$arch signed-by=$key_file] $ppa_url $package_dist $branches" | sudo tee -a "$list_dir"/"${ppa/\//-}".list >/dev/null 2>&1
146+
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
147147
update_lists "$ppa" "$ppa_search"
148148
. /etc/os-release
149149
fi

0 commit comments

Comments
 (0)