summaryrefslogtreecommitdiff
path: root/update-cleansystem
diff options
context:
space:
mode:
authorJoshua I. Haase H. (xihh) <hahj87@gmail.com>2012-12-04 21:19:22 -0600
committerJoshua I. Haase H. (xihh) <hahj87@gmail.com>2012-12-04 21:19:22 -0600
commitacc2c792c423c5aa81aa95f0516de7724dba3ab9 (patch)
tree73cacea8eff5cdfd23f42b740597b5498d152509 /update-cleansystem
parentd11741d73bbf6940c45ee0f2cadea980e9e40785 (diff)
parent098d7430e6447c4658704c3bcf88ea1ed7a5206b (diff)
Merge branch 'master' of gitpar:libretools
Conflicts: librechroot libremakepkg
Diffstat (limited to 'update-cleansystem')
-rwxr-xr-xupdate-cleansystem24
1 files changed, 0 insertions, 24 deletions
diff --git a/update-cleansystem b/update-cleansystem
deleted file mode 100755
index 97c2922..0000000
--- a/update-cleansystem
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/bash
-# Updates the cleansystem file
-# Creates a fake Parabola root and prints all packages installable from base
-# and base-devel plus extras
-
-set -E
-
-if [ ! -w / ]; then
- echo "Run as root."
- exit 1
-fi
-
-tmpdir=/tmp/cleansystem.${RANDOM}
-
-mkdir -p ${tmpdir}/var/lib/pacman
-
-# We sync first because updating info gets printed to stdout too
-pacman -r ${tmpdir} --config /etc/pacman.conf -Sy 2>/dev/null
-pacman -r ${tmpdir} \
- --config /etc/pacman.conf \
- -Sp --print-format "%n" \
- base base-devel sudo ${@} | sort > /etc/libretools.d/cleansystem
-
-exit $?