diff --git a/apt-cacher/setup.sh b/apt-cacher/setup.sh deleted file mode 100755 index 49cf5c9e..00000000 --- a/apt-cacher/setup.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -IP="192.168.179.107" - -# Ping the IP address to check if it is reachable -if ping -c 1 $IP &> /dev/null -then - echo 'Acquire::http { Proxy "http://192.168.179.107:3142"; }' | sudo tee -a /etc/apt/apt.conf.d/proxy -else - echo "IP $IP is not reachable. Exiting." - exit 1 -fi diff --git a/setup.sh b/setup.sh index 4a84c647..b39242cc 100755 --- a/setup.sh +++ b/setup.sh @@ -31,12 +31,5 @@ configure_terminal() { sudo chmod +x ./terminal/setup.sh ./terminal/setup.sh --icon "$terminal_icon" } - -configure_apt_cacher() { - echo "Configuring apt-cacher..." - sudo chmod +x ./apt-cacher/setup.sh - ./apt-cacher/setup.sh -} - configure_terminal configure_apt_cacher