mirror of
https://github.com/Jguer/yay
synced 2024-09-14 13:51:12 +00:00
14 lines
203 B
Bash
14 lines
203 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
function error() {
|
||
|
echo "ERROR: $1"
|
||
|
exit 1
|
||
|
}
|
||
|
|
||
|
echo "Start simple"
|
||
|
./yay -S shfmt --noconfirm || error "unable to make shfmt"
|
||
|
|
||
|
./yay -Qsq shfmt || error "unable to install shfmt"
|
||
|
|
||
|
exit 0
|