Skip to content

Commit

Permalink
ubuntu: don't update index after adding ppas
Browse files Browse the repository at this point in the history
  • Loading branch information
sylirre committed Jan 10, 2025
1 parent 6291a0e commit a582103
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions distro-build/ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions distro-plugins/ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit a582103

Please sign in to comment.