]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
setup.sh: Only link ~/.reportbugrc if reportbug is installed.
authorSimon Ruderich <simon@ruderich.org>
Sun, 17 Mar 2013 15:44:08 +0000 (16:44 +0100)
committerSimon Ruderich <simon@ruderich.org>
Sun, 17 Mar 2013 15:44:08 +0000 (16:44 +0100)
setup.sh

index d11e1ca4139d1af465d571de9eeb8e59086111f7..7254f84e1de3bd257ed34b2a2602dd4f94c2159c 100755 (executable)
--- a/setup.sh
+++ b/setup.sh
@@ -34,5 +34,7 @@ if test x"`os`" = xdebian; then
     sed -i 's|^#|//|' debian/aptitude/config
 
     link debian/aptitude ~/.aptitude
-    link debian/reportbugrc ~/.reportbugrc
+    if installed reportbug; then
+        link debian/reportbugrc ~/.reportbugrc
+    fi
 fi