15 lines
361 B
Bash
Executable file
15 lines
361 B
Bash
Executable file
#!/bin/sh
|
|
# commit and push
|
|
|
|
git add *
|
|
|
|
# update
|
|
if [ command -v lspci > /dev/null ]; then
|
|
lspci | grep -q "comet lake" && git commit -am "Update gentoo configuration (desktop)."
|
|
lspci | grep -q "2nd generation core processor" && git commit -am "Update gentoo configuration (laptop)."
|
|
else
|
|
git commit -am "Update Gentoo configuration."
|
|
fi
|
|
|
|
git push
|