rclone: Switch tarballs to signed (fixes #2382)
[termux-packages] / scripts / check-versions.sh
1 #!/usr/bin/env bash
2 # check-versions.sh - script to open packages in a browser for checking their versions
3
4 OPEN=xdg-open
5 if [ `uname` = Darwin ]; then OPEN=open; fi
6
7 check_package() { # path
8 local path=$1
9 local pkg=`basename $path`
10 . $path/build.sh
11 echo -n "$pkg - $TERMUX_PKG_VERSION"
12 read
13 $OPEN $TERMUX_PKG_HOMEPAGE
14 }
15
16 # Run each package in separate process since we include their environment variables:
17 for path in packages/*; do
18 (
19 check_package $path
20 )
21 done