rebuild: remove --no-pull
parent
c4e62e5dbe
commit
7ba742ab41
11
rebuild.sh
11
rebuild.sh
|
@ -81,7 +81,6 @@ build_package() {
|
|||
shift
|
||||
|
||||
local special_handling="None"
|
||||
local no_pull
|
||||
local install_as
|
||||
local makepkg_args="-srLcCf --noconfirm"
|
||||
local pull_url="https://aur.archlinux.org/$pkg.git"
|
||||
|
@ -97,10 +96,6 @@ build_package() {
|
|||
pull_url=$2
|
||||
shift 2
|
||||
;;
|
||||
--no-pull)
|
||||
no_pull=1
|
||||
shift
|
||||
;;
|
||||
--install-as)
|
||||
install_as=$2
|
||||
shift 2
|
||||
|
@ -122,11 +117,7 @@ build_package() {
|
|||
fi
|
||||
|
||||
cd $pkg
|
||||
|
||||
if [[ ! $no_pull ]]
|
||||
then
|
||||
git pull
|
||||
fi
|
||||
git pull
|
||||
|
||||
case $special_handling in
|
||||
None)
|
||||
|
|
Loading…
Reference in New Issue