Use non-root user when using docker
[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 # Run each package in separate process since we include their environment variables:
8 for path in packages/*; do
9 (
10 pkg=`basename $path`
11 . $path/build.sh
12 echo -n "$pkg - $TERMUX_PKG_VERSION - press Return to check homepage"
13 read
14 $OPEN $TERMUX_PKG_HOMEPAGE
15 )
16 done