1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-25 07:42:49 +00:00
termux-packages/check-versions.sh
Fredrik Fornwall 59f0d218a6 Initial push
2015-06-13 01:03:31 +02:00

17 lines
434 B
Bash
Executable File

#!/usr/bin/env bash
# check-versions.sh - script to open packages in a browser for checking their versions
OPEN=xdg-open
if [ `uname` = Darwin ]; then OPEN=open; fi
# Run each package in separate process since we include their environment variables:
for path in packages/*; do
(
pkg=`basename $path`
. $path/build.sh
echo -n "$pkg - $TERMUX_PKG_VERSION - press Return to check homepage"
read
$OPEN $TERMUX_PKG_HOMEPAGE
)
done