Skip to content

Commit 7f5ad38

Browse files
committed
suggest
1 parent ca93898 commit 7f5ad38

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ sudo chmod 644 /etc/apt/keyrings/closure.gpg
7070
echo "deb [signed-by=/etc/apt/keyrings/closure.gpg] https://ipitio.github.io/closure master main" | sudo tee /etc/apt/sources.list.d/closure.list
7171
sudo chmod 644 /etc/apt/sources.list.d/closure.list
7272
sudo apt-get update
73-
sudo DEBIAN_FRONTEND=noninteractive apt-get install -qq closure
73+
sudo DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -qq closure
7474
```
7575

7676
2. Edit the files above (in `/opt/closure` if you installed the package). If you didn't install the package, change the path in `rc.local` and move it to `/etc`. Ensure the target is connected to the internet and reboot.

debian/control

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ Standards-Version: 3.9.2
66
Package: closure
77
Version: 1.6.2
88
Maintainer: ipitio <[email protected]>
9-
Depends: containerd.io, curl, docker-ce, docker-ce-cli, docker-buildx-plugin, docker-compose-plugin, flatpak, hostapd, isc-dhcp-server, iw, macchanger, netplan.io, network-manager, net-tools, qrencode, rfkill, wireguard, wireless-tools, wget
10-
Recommends: build-essential, byobu, dkms, iperf3, nmap, tmux, traceroute, wmctrl
9+
Depends: curl, flatpak, hostapd, isc-dhcp-server, iw, macchanger, netplan.io, network-manager, net-tools, qrencode, rfkill, wireguard, wireless-tools, wget
10+
Recommends: containerd.io, docker-ce, docker-ce-cli, docker-buildx-plugin, docker-compose-plugin
11+
Suggests: build-essential, byobu, dkms, iperf3, nmap, tmux, traceroute, wmctrl
1112
Copyright: debian/copyright
1213
Readme: debian/README.Debian
1314
Links: /usr/share/doc/closure /opt/closure/debian

init.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ sudo() {
1818
apt_install() {
1919
if ! dpkg -l "$@" >/dev/null 2>&1; then
2020
sudo apt-get update
21-
sudo DEBIAN_FRONTEND=noninteractive apt-get install -yq "$@"
21+
sudo DEBIAN_FRONTEND=noninteractive apt-get install -yqq "$@"
2222
fi
2323
}
2424

@@ -66,7 +66,7 @@ sudo systemctl disable --now whoopsie.path &>/dev/null
6666
sudo systemctl mask whoopsie.path &>/dev/null
6767
sudo apt-get purge -y ubuntu-report popularity-contest apport whoopsie
6868
# shellcheck disable=SC2046
69-
apt_install $(grep -oP '((?<=^Depends: )|(?<=^Recommends: )).*' debian/control | tr -d ',' | tr '\n' ' ')
69+
apt_install $(grep -oP '((?<=^Depends: )|(?<=^Recommends: )|(?<=^Suggests: )).*' debian/control | tr -d ',' | tr '\n' ' ')
7070
sudo apt autoremove -y
7171
yq -V | grep -q mikefarah 2>/dev/null || {
7272
[ ! -f /usr/bin/yq ] || sudo mv -f /usr/bin/yq /usr/bin/yq.bak

0 commit comments

Comments
 (0)