# along with this program. If not, see <http://www.gnu.org/licenses/>.
+set -e
+
. ../lib.sh
+
if test x"`os`" = xdarwin; then
# Sets a custom PATH for GUI applications.
mkdir -p ~/.MacOSX
fi
if test x"`os`" = xdebian; then
# Necessary as aptitude rewrites the config file on every start.
- generate cat debian/aptitude/config .real
+ generate debian/aptitude/config .in cat
# aptitude/config uses // as comment instead of #.
- sed -i 's|^#|//|' debian/aptitude/config
+ sed_i 's|^#|//|' debian/aptitude/config
link debian/aptitude ~/.aptitude
- link debian/reportbugrc ~/.reportbugrc
+ if installed reportbug; then
+ link debian/reportbugrc ~/.reportbugrc
+ fi
fi