Skip to content

Commit d2e588a

Browse files
committed
less verbosity in pacman wrapper function
1 parent de577eb commit d2e588a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.zsh/autoload/post/50_archlinux_management.zsh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Install a package and commit this to the repository in /etc.
22
# Parameters: the package to be installed.
33
function installpkg() {
4-
pacman --noconfirm -S "$1"
4+
echo "INSTALL: '$1'"
5+
pacman --noconfirm -S "$1" > /dev/null
56
commit_all "/etc" "[INSTALL] $1"
67
commit_all "/var/log" "[INSTALL] $1"
78
#TODO: write data to a syslog-ng file, which will be replayed back later

0 commit comments

Comments
 (0)