Add comment to build.sh
This commit is contained in:
parent
516f4e238a
commit
a0ff43c6ea
1 changed files with 5 additions and 5 deletions
10
build.sh
10
build.sh
|
@ -25,15 +25,15 @@ main() {
|
|||
|
||||
echo -e "$Green### start install packeges for build $reponame ###$reset"
|
||||
echo -e "$Brown### checking your os ###$reset"
|
||||
if type pacman >/dev/null 2>&1;then
|
||||
if [ "$(id -u)" != "0" ]; then
|
||||
if type pacman >/dev/null 2>&1;then # Check for pacman
|
||||
if [ "$(id -u)" != "0" ]; then # Check for root
|
||||
echo -e "$Red### you are not in root$reset"
|
||||
exit 1
|
||||
else
|
||||
install
|
||||
else # Everything is OK go build
|
||||
install # Installing requirements
|
||||
echo -e "$Blue### install complete ###$reset"
|
||||
echo -e "$Green### start build $reponame with archiso ###$reset"
|
||||
build
|
||||
build # :)
|
||||
makezip
|
||||
fi
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue