minor improvements

parent 5cbcb363
......@@ -15,7 +15,7 @@ post_install () {
echo -e "\t${WHITE}+ ${MAGENTA} post-installation tasks"
gtk-update-icon-cache -f ${DATADIR}/icons/hicolor 2>/dev/null
if [[ $(grep "bashstyle.sh" ${BASHFILE}) == "" ]]; then
echo "source ${PROFILEDIR}/bashstyle.sh" | sed -e 's,//,/,g' >> ${BASHFILE}
echo -e "\nsource ${PROFILEDIR}/bashstyle.sh" | sed -e 's,//,/,g' >> ${BASHFILE}
fi
fi
......
......@@ -3,7 +3,8 @@
set -e
if [ ! $(grep "bashstyle.sh" /etc/bash.bashrc) >/dev/null 2>&1 ]; then
echo "source /etc/bashstyle.sh" >> /etc/bash.bashrc
echo "
source /etc/bashstyle.sh" >> /etc/bash.bashrc
fi
#DEBHELPER#
......
......@@ -278,7 +278,7 @@ function reload () {
}
[[ ${PATH} != *games* && -d /usr/games/ ]] && \
PATH="${PATH}:/usr/games/:/usr/local/games/"
export PATH="${PATH}:/usr/games/:/usr/local/games/"
[[ ${PATH} != *bashstyle-ng/rc* ]] && \
export PATH="@DATADIR@/bashstyle-ng/rc/functions/:${PATH}:."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment