15 lines
217 B
Bash
Executable File
15 lines
217 B
Bash
Executable File
#!/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
|