update all scripts

This commit is contained in:
wt committed 2026-03-06 18:01:24 +07:00
1 parent c9bb397d65
commit d065fa6e04
26 files changed
+218 -33

No files matched your search

+9 -1
View File
@@ -13,8 +13,16 @@ curl() {
pkgver=8.9.1
srcurl=https://curl.se/download/${pkgname}-${pkgver}.tar.xz
print_info "** Building and installing curl"
mkdir $build/${pkgname}
[ -d $build/${pkgname} ] && return 0
mkdir -p $build/${pkgname}
cd $build/${pkgname}
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}