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