%PDF-1.7 GIF89;
| Server IP : 104.20.45.2 / Your IP : 172.16.20.3 Web Server : Apache/2.4.25 (Debian) System : Linux f64a392e70de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : application ( 1000) PHP Version : 5.6.40 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /usr/local/bin/ |
Upload File : |
#!/bin/bash
set -o pipefail # trace ERR through pipes
set -o errtrace # trace ERR through 'time command' and other functions
set -o nounset ## set -u : exit the script if you try to use an uninitialised variable
set -o errexit ## set -e : exit the script if any statement returns a non-true return value
export DEBIAN_FRONTEND=noninteractive
if [[ -f "/tmp/.apt-update" ]]; then
echo "Detected prefetched 'apt-get update'"
# Install packages
RUNLEVEL=1 apt-get install -y -f --no-install-recommends $*
else
# Update apt cache
apt-get update
# Install packages
RUNLEVEL=1 apt-get install -y -f --no-install-recommends $*
# Clear files (reduce snapshot size)
rm -rf /var/lib/apt/lists/*
apt-get clean -y
fi