diff options
Diffstat (limited to 'libredbdiff-standalone')
-rwxr-xr-x | libredbdiff-standalone | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libredbdiff-standalone b/libredbdiff-standalone index 6ff980f..3c7a74e 100755 --- a/libredbdiff-standalone +++ b/libredbdiff-standalone @@ -66,6 +66,7 @@ if (( $UPDATE )) ; then } downloadfile "${conffile}" "Downloading Parabola pacman.conf" "https://projects.parabola.nu/abslibre.git/plain/libre/pacman/pacman.conf.x86_64" if [[ $? == 255 ]] ; then + sed -i "s|^#DBPath .*|DBPath = ${dbpath}|" "${conffile}" echo "Enabling nonprism repo in ${conffile}" sed -i 's|^# after the header, and they will be used before the default mirrors.|# after the header, and they will be used before the default mirrors.\n\n[nonprism]\nInclude = /etc/pacman.d/mirrorlist|' "${conffile}" echo "Enabling libre-multilib repo in ${conffile}" @@ -78,6 +79,7 @@ if (( $UPDATE )) ; then downloadfile "${conffilearch}" "Downloading Arch pacman.conf" "https://projects.archlinux.org/svntogit/packages.git/plain/pacman/trunk/pacman.conf.x86_64" if [[ $? == 255 ]] ; then + sed -i "s|^#DBPath .*|DBPath = ${dbpatharch}|" "${conffilearch}" echo "Setting Arch mirrorlist file in ${conffilearch}" sed -i "s|/etc/pacman\.d/mirrorlist$|$baseconfpath/mirrorlist.archlinux|" "${conffilearch}" echo "Enabling multilib repo in ${conffilearch}" |