Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix regression from 0a2b6e2338 #72

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION = 2.215
VERSION = 2.216
PN = clean-chroot-manager

PREFIX ?= /usr
Expand Down
4 changes: 2 additions & 2 deletions common/clean-chroot-manager64.in
Original file line number Diff line number Diff line change
Expand Up @@ -250,11 +250,11 @@ build() {
indexit() {
# if this is the first time a package has been successfully built,
# append the local repo to the buildroot's pacman.conf
if ! grep -q "$REPO_NAME" "$CHROOTPATH64/$USER/etc/pacman.conf"; then
if ! grep -q "$REPO_NAME" "$CHROOTPATH64/root/etc/pacman.conf"; then
# add a local repo to buildroot
sed -i "/\[testing\]/i \
# Added by clean-chroot-manager\n[$REPO_NAME]\nSigLevel = Never\nServer = file://$REPO\n" \
"$CHROOTPATH64/$USER/etc/pacman.conf"
"$CHROOTPATH64/root/etc/pacman.conf"
fi

# setup a local repo and add adjust files in buildroot
Expand Down