update all scripts
This commit is contained in:
+8
-1
@@ -9,8 +9,15 @@ bash() {
|
||||
pkgver=5.2.32
|
||||
srcurl=https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz
|
||||
print_info "** Building and installing bash"
|
||||
mkdir $build/${pkgname}
|
||||
mkdir -p $build/${pkgname}
|
||||
cd $build/${pkgname}
|
||||
if [ ! -f $root/downloads/${pkgname}-${pkgver}.tar.gz ]; then
|
||||
print_info "** Downloading $srcurl"
|
||||
cd $root/downloads
|
||||
wget $srcurl
|
||||
check $? "download $srcurl"
|
||||
cd -
|
||||
fi
|
||||
tar -xf $root/downloads/${pkgname}-${pkgver}.tar.gz
|
||||
check $? "Extract ${pkgname}"
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
Reference in New Issue
Block a user