ltcp/aufgabe4/yaourt

15 lines
217 B
Plaintext
Raw Normal View History

2013-10-31 17:05:31 +00:00
#!/bin/bash
if [[ "$1" != -S && "$1" != -S*u && "$1" != -U ]]; then
/usr/bin/yaourt "$@"
exit $?
fi
sudo etckeeper pre-install
/usr/bin/yaourt "$@"
EXIT_CODE=$?
sudo etckeeper post-install
exit $EXIT_CODE