diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-12-02 21:51:17 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-12-09 14:20:48 -0500 |
commit | 040f4f53f9bdc70fbaf73db1b637fd0b40359b3c (patch) | |
tree | db27fbfdc0943a6b8698b3631c4fb13e1301d5b9 /src | |
parent | 17518277065a4c17557bb9baf2272af19fb15de0 (diff) |
librechroot: don't print messages for everything
Diffstat (limited to 'src')
-rwxr-xr-x | src/chroot-tools/librechroot | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/chroot-tools/librechroot b/src/chroot-tools/librechroot index 26176e0..990f91c 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 |