delete apt cacher
This commit is contained in:
@@ -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
|
|
7
setup.sh
7
setup.sh
@@ -31,12 +31,5 @@ configure_terminal() {
|
|||||||
sudo chmod +x ./terminal/setup.sh
|
sudo chmod +x ./terminal/setup.sh
|
||||||
./terminal/setup.sh --icon "$terminal_icon"
|
./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_terminal
|
||||||
configure_apt_cacher
|
configure_apt_cacher
|
||||||
|
Reference in New Issue
Block a user