Browse Source

Remove at package

Breaks stig tests
Bob Mottram 7 years ago
parent
commit
ac2116b67b
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      src/freedombone-base-email

+ 3
- 2
src/freedombone-base-email View File

@@ -86,16 +86,17 @@ function rebuild_exim_with_socks {
86 86
     cp src/EDITME Local/Makefile
87 87
     sed -i 's|# SUPPORT_SOCKS|SUPPORT_SOCKS|g' Local/Makefile
88 88
     # TODO how to make this non-interactive
89
-    dpkg-source --commit . SOCKS
89
+    EDITOR=nano echo '\C-x' | dpkg-source --commit . SOCKS
90 90
     debuild -us -uc
91 91
     cd "$INSTALL_DIR/exim4" || exit 3468356
92 92
     mv exim4_${exim_version}-*.deb exim4_${exim_version}_all.deb
93 93
     if [ ! -f exim4_${exim_version}_all.deb ]; then
94
-        ls -l "$INSTALL_DIR/exim4/"*.deb
94
+        ls -l "$INSTALL_DIR/exim4/exim4_"*.deb
95 95
         echo "exim4_${exim_version}_all.deb not found"
96 96
         exit 63857368
97 97
     fi
98 98
     dpkg -i exim4_${exim_version}_all.deb
99
+    apt-get -yq remove --purge at
99 100
 }
100 101
 
101 102
 function email_create_template {