summaryrefslogtreecommitdiff
path: root/libremakepkg
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-12-21 13:58:41 -0600
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-12-21 13:58:41 -0600
commit32b6057b15e4f0872b9ebd51038c72b0d681cb80 (patch)
tree43de10bf937944a1061fd4e8ceb0960c2fc1307a /libremakepkg
parentdce177d9f929c18d5eb2b5164b18f92c701a0052 (diff)
create cleansystem list every time
Diffstat (limited to 'libremakepkg')
-rwxr-xr-xlibremakepkg4
1 files changed, 3 insertions, 1 deletions
diff --git a/libremakepkg b/libremakepkg
index 292e4b5..cb71300 100755
--- a/libremakepkg
+++ b/libremakepkg
@@ -64,7 +64,9 @@ function buildenv { # Mounts *DEST from makepkg.conf
function clean_chroot { # Clean packages with pacman
plain "making list of packages in ${CHROOTDIR}/${CHROOTNAME}/root/"
- cp "/etc/libretools.d/cleansystem" "${CHROOTDIR}/${CHROOTNAME}/root/cleansystem"
+ echo "sudo
+" > "${CHROOTDIR}/${CHROOTNAME}/root/cleansystem"
+ pacman -Sgq base base-devel >> "${CHROOTDIR}/${CHROOTNAME}/root/cleansystem"
(cat <<EOF
#!/bin/bash
export LANG=C