Skip to content

Commit

Permalink
auto-install-packages: Install ports tree if needed
Browse files Browse the repository at this point in the history
  • Loading branch information
outpaddling committed Sep 17, 2022
1 parent 53784e3 commit 367516e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Sys-scripts/auto-install-packages
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ FreeBSD)
PORTSDIR='/usr/ports'
latest_package_name=0

if [ ! -e $PORTSDIR ]; then
auto-ports-checkout
fi
while [ 0$(printf "%s" $1 | cut -c 1,1) = 0'-' ]; do
if [ 0$1 = 0'-l' ]; then
latest_package_name=1
Expand Down

0 comments on commit 367516e

Please sign in to comment.