diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/chroot-tools/librechroot | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/chroot-tools/librechroot b/src/chroot-tools/librechroot index 6ae4b12..d763830 100755 --- a/src/chroot-tools/librechroot +++ b/src/chroot-tools/librechroot @@ -449,6 +449,9 @@ main() { # - set 'CacheDir' in \`/etc/pacman.conf'" # - apply -C or -M flags arch-nspawn "$copydir" true + if [[ -n ${tmppacmanconf:-} ]]; then + rm -f -- "$tmppacmanconf" + fi trap EXIT # clear the trap to remove the tmp pacman.conf from -A arch_nspawn_flags=() # XXX dirty hack, don't apply -C or -M again fi |