From 139cb153700ef9671469676400fcec447c38ac01 Mon Sep 17 00:00:00 2001 From: Bram Date: Wed, 24 Sep 2025 22:21:47 +0200 Subject: [PATCH] delete apt cacher --- apt-cacher/setup.sh | 12 ------------ setup.sh | 7 ------- 2 files changed, 19 deletions(-) delete mode 100755 apt-cacher/setup.sh 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