From: Simon Ruderich Date: Sun, 17 Mar 2013 15:44:08 +0000 (+0100) Subject: setup.sh: Only link ~/.reportbugrc if reportbug is installed. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=ea9794e34ffe3de76829a8e8b0c1a98e94bca63b;p=config%2Fdotfiles.git setup.sh: Only link ~/.reportbugrc if reportbug is installed. --- diff --git a/setup.sh b/setup.sh index d11e1ca..7254f84 100755 --- 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