summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-12-02 21:51:17 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-12-02 21:51:17 -0500
commit3f5470e4c19bcc481fb10eee2fe88a081b568fe4 (patch)
tree295a0fcc4171a9ff6dffe46ce0db37bf2042b3f0 /src
parent258e99e37d0d40fb4f16c9d894ce500e5ba9e9a6 (diff)
librechroot: don't print messages for everything
Diffstat (limited to 'src')
-rwxr-xr-xsrc/chroot-tools/librechroot7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/chroot-tools/librechroot b/src/chroot-tools/librechroot
index 6594f15..fda72d4 100755
--- a/src/chroot-tools/librechroot
+++ b/src/chroot-tools/librechroot
@@ -113,14 +113,12 @@ main() {
case "$mode" in
clean_repo)
- msg "Cleaning local pacman repository"
rm -rf "${copydir}/repo"
mkdir "${copydir}/repo"
bsdtar -czf "${copydir}/repo/repo.db.tar.gz" -T /dev/null
ln -s "repo.db.tar.gz" "${copydir}/repo/repo.db"
;;
clean_pacman)
- msg "Intelligently cleaning packages"
cp -a "$(which chcleanup)" "${copydir}/clean"
echo '#!/bin/bash' > "${copydir}/cleanstrap"
echo 'mkdir /build' >> "${copydir}/cleanstrap"
@@ -129,27 +127,22 @@ main() {
archroot "${archroot_args[@]}" "${copydir}" -r /cleanstrap
;;
install_file)
- msg "Installing package file: $ARG"
cp "$ARG" "$copydir/${ARG##*/}"
archroot "${archroot_args[@]}" "$copydir" -r "pacman -U /${ARG##*/} --noconfirm"
rm "$copydir/${ARG##*/}"
;;
install_pkg)
- msg "Installing package(s): $ARG"
archroot "${archroot_args[@]}" "$copydir" -i $ARG
;;
noop) :;;
run)
- msg "Running command"
archroot "${archroot_args[@]}" "${copydir}" -r "$ARG"
;;
sync) sync;;
update)
- msg "Updating chroot"
archroot "${archroot_args[@]}" "${copydir}" -u
;;
enter)
- msg "Entering chroot"
archroot "${archroot_args[@]}" "${copydir}" -r bash
;;
esac