File indexing completed on 2024-06-23 04:15:17
0001 #!/bin/sh 0002 0003 # SPDX-FileCopyrightText: 2013-2024 by Gilles Caulier <caulier dot gilles at gmail dot com> 0004 # This script must be run as sudo 0005 # 0006 # SPDX-License-Identifier: BSD-3-Clause 0007 # 0008 0009 # Pre-processing checks 0010 0011 # Ask to run as root 0012 (( EUID != 0 )) && exec sudo -- "$0" "$@" 0013 0014 # halt on error 0015 set -e 0016 0017 . ../common.sh 0018 StartScript 0019 CommonChecks 0020 0021 # Update Macports binary 0022 0023 port selfupdate 0024 0025 # Update all already install packages 0026 0027 port upgrade outdated 0028 0029 TerminateScript