Skip to content

Commit

Permalink
Improve dependencies installer & removal
Browse files Browse the repository at this point in the history
  • Loading branch information
joglomedia committed Apr 19, 2024
1 parent 25d69e0 commit 6acbca3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions remove.sh
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,10 @@ fi
### Remove unnecessary packages ###
echo -e "\nCleaning up unnecessary packages..."

if [[ "${FORCE_REMOVE}" == true ]]; then
[ -d /tmp/lemper ] && run rm -fr /tmp/lemper
fi

run apt-get autoremove -q -y && \
run apt-get autoclean -q -y && \
run apt-get clean -q -y
Expand Down
2 changes: 1 addition & 1 deletion scripts/install_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ run apt-get install -q -y \
cmake cron curl dmidecode dnsutils gcc gdb git gnupg2 htop iptables libc-bin libc6-dev \
libcurl4-openssl-dev libgpgme11-dev libssl-dev libpcre3-dev libxml2-dev libxslt1-dev \
libtool locales logrotate lsb-release make net-tools openssh-server openssl pkg-config \
re2c rsync software-properties-common sasl2-bin snmp sudo sysstat tar tzdata unzip wget \
re2c rsync software-properties-common sasl2-bin snap snmp sudo sysstat tar tzdata unzip wget \
whois xz-utils zlib1g-dev geoip-bin geoip-database gettext libgeoip-dev libpthread-stubs0-dev uuid-dev

# Install Python 3
Expand Down

0 comments on commit 6acbca3

Please sign in to comment.