Add clear cmd before start command

This commit is contained in:
MatMoul 2015-09-01 03:26:21 +02:00
parent 98c2f63926
commit 7d3325bce2

View file

@ -69,6 +69,7 @@ case $sel in
'Edit mirrorlist') nano /etc/pacman.d/mirrorlist;; 'Edit mirrorlist') nano /etc/pacman.d/mirrorlist;;
'Install yaourt') 'Install yaourt')
if(confirm "Yaourt allow you to access the AUR applications.\nBecause is not possible to compile applications as root,\nthis installer create an aurbuilder user.\n\nInstall yaourt ?") then if(confirm "Yaourt allow you to access the AUR applications.\nBecause is not possible to compile applications as root,\nthis installer create an aurbuilder user.\n\nInstall yaourt ?") then
clear
checkaurdependencies checkaurdependencies
checkarchlinuxfrrepo checkarchlinuxfrrepo
pacman -S --needed yaourt pacman -S --needed yaourt
@ -76,6 +77,7 @@ case $sel in
;; ;;
'Install packer') 'Install packer')
if(confirm "Packer allow you to access the AUR applications.\nBecause is not possible to compile applications as root,\nthis installer create an aurbuilder user.\n\nInstall packer ?") then if(confirm "Packer allow you to access the AUR applications.\nBecause is not possible to compile applications as root,\nthis installer create an aurbuilder user.\n\nInstall packer ?") then
clear
checkaurdependencies checkaurdependencies
checkarchlinuxfrrepo checkarchlinuxfrrepo
pacman -S --needed packer pacman -S --needed packer