postinst-setup-fedora: install apt-cacher-ng
authorMartin Pitt <martin@piware.de>
Sun, 6 Aug 2017 11:04:21 +0000 (13:04 +0200)
committerMartin Pitt <martin@piware.de>
Sun, 6 Aug 2017 11:04:21 +0000 (13:04 +0200)
postinst-setup-fedora

index 9720068de781a312b0aea9746b1f3576f45ee193..5cbf68f835e1d8b40299557f99d26fc711a40580 100755 (executable)
@@ -8,6 +8,7 @@ if ! type offlineimap >/dev/null 2>&1; then
     # install stuff that we do want
     dnf install -y iwl6000g2a-firmware NetworkManager-wifi dnsmasq \
         sudo ecryptfs-utils vim-enhanced iwl6000g2a-firmware \
+        dnf-utils bash-completion \
         xorg-x11-server-Xorg xorg-x11-drv-libinput xorg-x11-drv-intel \
         mesa-dri-drivers lxrandr \
         dejavu-sans-fonts dejavu-serif-fonts dejavu-sans-mono-fonts \
@@ -24,7 +25,7 @@ if ! type offlineimap >/dev/null 2>&1; then
         offlineimap gnome-keyring pinentry-gnome3 \
         postfix duplicity systemd-container gnome-disk-utility powertop \
         git gtimelog libappindicator-gtk3 \
-        schroot mock \
+        schroot mock apt-cacher-ng \
 
     # codecs
     dnf install -y http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
@@ -56,6 +57,7 @@ setenforce 0 || true
 
 rm -f /etc/systemd/system/default.target
 systemctl set-default graphical.target
+systemctl enable --now apt-cacher-ng
 
 # create user
 if ! getent passwd martin >/dev/null; then