Skip to content

Commit

Permalink
xmirror.in: fix failing if xbps-install doesn't sync
Browse files Browse the repository at this point in the history
  • Loading branch information
AnInternetTroll committed Jul 7, 2024
1 parent 06330d4 commit 9a876f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xmirror.in
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ write_mirrors() {
"${ROOTDIR}/usr/share/xbps.d"/*-repository-*.conf "${ROOTDIR}/etc/xbps.d/"
sed -i "s|https://repo-default.voidlinux.org|${REPOSITORY%/}|g" "${ROOTDIR}/etc/xbps.d"/*-repository-*.conf
$XBPS_INSTALL -S -r "${ROOTDIR}"
return $?
set +e
}

Expand Down

0 comments on commit 9a876f9

Please sign in to comment.