update all scripts
This commit is contained in:
+9
-1
@@ -13,8 +13,16 @@ git_build() {
|
||||
pkgver=2.46.0
|
||||
srcurl=https://www.kernel.org/pub/software/scm/git/${pkgname}-${pkgver}.tar.xz
|
||||
print_info "** Building and installing ${pkgname}"
|
||||
mkdir $build/git
|
||||
[ -d $build/${pkgname} ] && return 0
|
||||
mkdir -p $build/git
|
||||
cd $build/git
|
||||
if [ ! -f $root/downloads/${pkgname}-${pkgver}.tar.xz ]; then
|
||||
print_info "** Downloading $srcurl"
|
||||
cd $root/downloads
|
||||
wget $srcurl
|
||||
check $? "download $srcurl"
|
||||
cd -
|
||||
fi
|
||||
tar -xf $root/downloads/${pkgname}-${pkgver}.tar.xz
|
||||
check $? "Extract ${pkgname}"
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
Reference in New Issue
Block a user