alicelinux

A lightweight musl + clang/llvm + libressl + busybox distro
git clone https://codeberg.org/emmett1/alicelinux
Log | Files | Refs | README | LICENSE

update.sh (299B)


      1 #!/bin/sh
      2 
      3 for i in $(awk '{print $1}' outdate.list); do
      4 	[ -d $i ] || continue
      5 	nv=$(grep ^"$i " outdate.list | awk '{print $2}')
      6 	ov=$(grep ^"$i " outdate.list | awk '{print $3}')
      7 	read -p "Update $i $ov to $nv " aaa
      8 	case $aaa in
      9 		n|N|no|NO|No|nO) continue;;
     10 		*) ./pkgup.sh $i $nv;;
     11 	esac
     12 done