cleanup: apt depencies: only include direct dependencies, apt will resolve the rest.
remove ftp it is deprecated
This commit is contained in:
@@ -17,13 +17,12 @@ install_depends() {
|
|||||||
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list
|
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list
|
||||||
apt -qqq update && apt -qqy upgrade
|
apt -qqq update && apt -qqy upgrade
|
||||||
echo "icecast2 icecast2/icecast-setup boolean false" | debconf-set-selections
|
echo "icecast2 icecast2/icecast-setup boolean false" | debconf-set-selections
|
||||||
apt install -qqy caddy ftpd sqlite3 php-sqlite3 alsa-utils \
|
apt install -qqy caddy sqlite3 php-sqlite3 php-fpm php-curl php-xml php-zip php icecast2 \
|
||||||
pulseaudio avahi-utils sox libsox-fmt-mp3 php-fpm php-curl php-xml \
|
pulseaudio avahi-utils sox libsox-fmt-mp3 alsa-utils ffmpeg \
|
||||||
php-zip php icecast2 swig ffmpeg wget unzip curl cmake make bc libjpeg-dev \
|
wget curl unzip bc \
|
||||||
zlib1g-dev python3-dev python3-pip python3-venv lsof net-tools gcc python3-dev inotify-tools
|
python3-pip python3-venv lsof net-tools inotify-tools
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
set_hostname() {
|
set_hostname() {
|
||||||
if [ "$(hostname)" == "raspberrypi" ];then
|
if [ "$(hostname)" == "raspberrypi" ];then
|
||||||
hostnamectl set-hostname birdnetpi
|
hostnamectl set-hostname birdnetpi
|
||||||
|
|||||||
Reference in New Issue
Block a user