Skip to content
Martin 'Hasan' Bramwell edited this page Sep 8, 2015 · 22 revisions
export HAS_PACKAGE_DIRS=$(grep PACKAGE_DIRS ~/.profile | grep -c ${PACKAGE_DIRS} ~/.profile)
[[ ${HAS_PACKAGE_DIRS} -lt 1 ]] && echo -e "\n#\nexport PACKAGE_DIRS=${PACKAGE_DIRS}" >> ~/.profile && source ~/.profile
Clone this wiki locally