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 "$Green### start install packeges for build $reponame ###$reset"
|
||||||
echo -e "$Brown### checking your os ###$reset"
|
echo -e "$Brown### checking your os ###$reset"
|
||||||
if type pacman >/dev/null 2>&1;then
|
if type pacman >/dev/null 2>&1;then # Check for pacman
|
||||||
if [ "$(id -u)" != "0" ]; then
|
if [ "$(id -u)" != "0" ]; then # Check for root
|
||||||
echo -e "$Red### you are not in root$reset"
|
echo -e "$Red### you are not in root$reset"
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else # Everything is OK go build
|
||||||
install
|
install # Installing requirements
|
||||||
echo -e "$Blue### install complete ###$reset"
|
echo -e "$Blue### install complete ###$reset"
|
||||||
echo -e "$Green### start build $reponame with archiso ###$reset"
|
echo -e "$Green### start build $reponame with archiso ###$reset"
|
||||||
build
|
build # :)
|
||||||
makezip
|
makezip
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue