From a58210313f1bb8b09f2ed4d8de2ab9eef0e28483 Mon Sep 17 00:00:00 2001 From: Sylirre Date: Fri, 10 Jan 2025 02:02:56 +0200 Subject: [PATCH] ubuntu: don't update index after adding ppas --- distro-build/ubuntu.sh | 4 ++-- distro-plugins/ubuntu.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/distro-build/ubuntu.sh b/distro-build/ubuntu.sh index 44c88697a..7b7a23607 100644 --- a/distro-build/ubuntu.sh +++ b/distro-build/ubuntu.sh @@ -45,7 +45,7 @@ write_plugin() { ${TAB}# Configure Firefox PPA. ${TAB}echo "Configuring PPA repository for Firefox..." - ${TAB}run_proot_cmd add-apt-repository --yes ppa:mozillateam/firefox-next || true + ${TAB}run_proot_cmd add-apt-repository --yes --no-update ppa:mozillateam/firefox-next || true ${TAB}cat <<- CONFIG_EOF > ./etc/apt/preferences.d/pin-mozilla-ppa ${TAB}Package: * ${TAB}Pin: release o=LP-PPA-mozillateam-firefox-next @@ -54,7 +54,7 @@ write_plugin() { ${TAB}# Configure Thunderbird PPA. ${TAB}echo "Configuring PPA repository for Thunderbird..." - ${TAB}run_proot_cmd add-apt-repository --yes ppa:mozillateam/thunderbird-next || true + ${TAB}run_proot_cmd add-apt-repository --yes --no-update ppa:mozillateam/thunderbird-next || true ${TAB}cat <<- CONFIG_EOF > ./etc/apt/preferences.d/pin-thunderbird-ppa ${TAB}Package: * ${TAB}Pin: release o=LP-PPA-mozillateam-thunderbird-next diff --git a/distro-plugins/ubuntu.sh b/distro-plugins/ubuntu.sh index 79ab622d8..879865e43 100644 --- a/distro-plugins/ubuntu.sh +++ b/distro-plugins/ubuntu.sh @@ -18,7 +18,7 @@ distro_setup() { # Configure Firefox PPA. echo "Configuring PPA repository for Firefox..." - run_proot_cmd add-apt-repository --yes ppa:mozillateam/firefox-next || true + run_proot_cmd add-apt-repository --yes --no-update ppa:mozillateam/firefox-next || true cat <<- CONFIG_EOF > ./etc/apt/preferences.d/pin-mozilla-ppa Package: * Pin: release o=LP-PPA-mozillateam-firefox-next @@ -27,7 +27,7 @@ distro_setup() { # Configure Thunderbird PPA. echo "Configuring PPA repository for Thunderbird..." - run_proot_cmd add-apt-repository --yes ppa:mozillateam/thunderbird-next || true + run_proot_cmd add-apt-repository --yes --no-update ppa:mozillateam/thunderbird-next || true cat <<- CONFIG_EOF > ./etc/apt/preferences.d/pin-thunderbird-ppa Package: * Pin: release o=LP-PPA-mozillateam-thunderbird-next