comments
authorIan Kelling <ian@iankelling.org>
Mon, 28 May 2018 22:42:11 +0000 (18:42 -0400)
committerIan Kelling <ian@iankelling.org>
Mon, 28 May 2018 22:42:11 +0000 (18:42 -0400)
emacs

diff --git a/emacs b/emacs
index 7f09842941c472507c58b5399525f462f8a6ec29..e99db9951b1ce86a4d36e1247d059b1051aa7ea6 100755 (executable)
--- a/emacs
+++ b/emacs
@@ -41,7 +41,10 @@ pkgs=(gawk attr autoconf-archive)
 if $show_pkgs; then
     echo ${pkgs[*]}
     for x in emacs25 maildir-utils; do
-        apt-rdepends --build-depends --follow=DEPENDS $x|sed -rn 's/^\s*Build-Depends: (\S+).*/\1/p'
+      # todo, this gives fake provided packages like mailx, and then
+      # fai ignores them.
+      # https://askubuntu.com/questions/21379/how-do-i-find-the-build-dependencies-of-a-package
+      apt-rdepends --build-depends --follow=DEPENDS $x|sed -rn 's/^\s*Build-Depends: (\S+).*/\1/p'
     done
     exit 0
 fi