summaryrefslogtreecommitdiffstats
path: root/rebuild-alpine.sh
diff options
context:
space:
mode:
authorAndrew Manison <amanison@anselsystems.com>2011-03-09 17:37:49 +0000
committerAndrew Manison <amanison@anselsystems.com>2011-10-03 09:18:25 +0000
commitc85e257535f90a206dc7c9d90d3adbdb4d15ce3a (patch)
tree743e9321f1e8dc14eec6d9d74e85a1f6cc30e389 /rebuild-alpine.sh
parent910eb5e4cf1712e9f03225f1b519116b29999821 (diff)
downloadaports-c85e257535f90a206dc7c9d90d3adbdb4d15ce3a.tar.bz2
aports-c85e257535f90a206dc7c9d90d3adbdb4d15ce3a.tar.xz
rebuild-alpine.sh: Added more checks for unwanted packages at start of build and after each package
Diffstat (limited to 'rebuild-alpine.sh')
-rwxr-xr-xrebuild-alpine.sh19
1 files changed, 18 insertions, 1 deletions
diff --git a/rebuild-alpine.sh b/rebuild-alpine.sh
index c93e4b6c1..d95502419 100755
--- a/rebuild-alpine.sh
+++ b/rebuild-alpine.sh
@@ -72,7 +72,16 @@ build () {
fi
done
cd $rootdir
- if [ -n $(apk info | grep libiconv) ]; then echo "***** libiconv stuck *****"; sudo apk del libiconv; fi
+
+ if [ -n "$(apk info | grep libiconv)" ]; then
+ echo "***** libiconv stuck *****"
+ sudo apk del libiconv
+ fi
+
+ if [ -n "$(apk info | grep gettext)" ]; then
+ echo "***** gettext stuck *****"
+ sudo apk del gettext
+ fi
}
touch START_OF_BUILD.txt
@@ -100,6 +109,14 @@ git pull
#abuild -Ru
#cd $rootdir
+if [ -n "$(apk info | grep libiconv)" ]; then
+ sudo apk del libiconv
+fi
+
+if [ -n "$(apk info | grep gettext)" ]; then
+ sudo apk del gettext
+fi
+
for s in main testing unstable ; do
echo "Building packages in $s"
build $s