From ea9794e34ffe3de76829a8e8b0c1a98e94bca63b Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 17 Mar 2013 16:44:08 +0100 Subject: [PATCH] setup.sh: Only link ~/.reportbugrc if reportbug is installed. --- setup.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.44.1