Loading functions +1 −1 Original line number Diff line number Diff line Loading @@ -219,7 +219,7 @@ pac_install(){ ## Install package from aur aur_install(){ sudo -u usertmp yaourt -r "$newroot" -Sy $(grep -h -v ^# $gen_dir/$config_dir/package_list/aur_*) --noconfirm || die " Failed to install packages" sudo -u usertmp yaourt -r "$newroot" -Sy $(grep -h -v ^# $gen_dir/$config_dir/package_list/aur_*) || die " Failed to install packages" } ## Create needed directory Loading obarun-install→obarun-install.in +7 −6 Original line number Diff line number Diff line #!/usr/bin/bash #!/usr/bin/sh # This script is under license BEER-WARE # "THE BEER-WARE LICENSE" (Revision 42): # <eric@obarun.org> wrote this file. As long as you retain this notice you Loading @@ -13,18 +13,19 @@ shopt -s extglob ## Clean before exit trap "clean_install" EXIT ERR QUIT KILL STOP INT ## Check is the functions file exits if [[ -f `pwd`/functions ]]; then source functions else die "${bred}==>> Missing file : functions${reset}" echo "==>> Missing file : functions" exit fi ## Clean before exit trap "clean_install" EXIT ERR QUIT KILL STOP INT ## Must be root user (( EUID == 0 )) || die " ${bred}You must be run this script with root privileges" Loading Loading
functions +1 −1 Original line number Diff line number Diff line Loading @@ -219,7 +219,7 @@ pac_install(){ ## Install package from aur aur_install(){ sudo -u usertmp yaourt -r "$newroot" -Sy $(grep -h -v ^# $gen_dir/$config_dir/package_list/aur_*) --noconfirm || die " Failed to install packages" sudo -u usertmp yaourt -r "$newroot" -Sy $(grep -h -v ^# $gen_dir/$config_dir/package_list/aur_*) || die " Failed to install packages" } ## Create needed directory Loading
obarun-install→obarun-install.in +7 −6 Original line number Diff line number Diff line #!/usr/bin/bash #!/usr/bin/sh # This script is under license BEER-WARE # "THE BEER-WARE LICENSE" (Revision 42): # <eric@obarun.org> wrote this file. As long as you retain this notice you Loading @@ -13,18 +13,19 @@ shopt -s extglob ## Clean before exit trap "clean_install" EXIT ERR QUIT KILL STOP INT ## Check is the functions file exits if [[ -f `pwd`/functions ]]; then source functions else die "${bred}==>> Missing file : functions${reset}" echo "==>> Missing file : functions" exit fi ## Clean before exit trap "clean_install" EXIT ERR QUIT KILL STOP INT ## Must be root user (( EUID == 0 )) || die " ${bred}You must be run this script with root privileges" Loading