diff --git a/pidd.sh b/pidd.sh index 1638fb7..bdd213d 100644 --- a/pidd.sh +++ b/pidd.sh @@ -453,9 +453,9 @@ pidd_set_packages_repositories() { *) ;; esac pidd_sed "${pidd_spr__file}" \ - "|^mirrorlist|# mirrorlist|" \ - "|${PIDD_URL_DEFAULT}|${PIDD_URL_CHOSEN}|" \ - "|^# baseurl|baseurl|" + "|^mirrorlist|# mirrorlist|" \ + "|${PIDD_URL_DEFAULT}|${PIDD_URL_CHOSEN}|" \ + "|^# baseurl|baseurl|" ;; "${PIDD_OS_ALPINE}") pidd_spr__file="/etc/apk/repositories" @@ -480,9 +480,9 @@ deb ${PIDD_URL_CHOSEN}-security ${PIDD_OS_VERSION}-security main *) ;; esac pidd_sed "${pidd_spr__file}" \ - "|^mirrorlist|# mirrorlist|" \ - "|${PIDD_URL_DEFAULT}|${PIDD_URL_CHOSEN}|" \ - "|^#baseurl|baseurl|" + "|^mirrorlist|# mirrorlist|" \ + "|${PIDD_URL_DEFAULT}|${PIDD_URL_CHOSEN}|" \ + "|^#baseurl|baseurl|" ;; "${PIDD_OS_UBUNTU}") pidd_spr__file="/etc/apt/sources.list"