Skip to content
Martin 'Hasan' Bramwell edited this page Sep 9, 2015 · 22 revisions
export PACKAGES=~/projects/packages
export PACKAGE_DIRS=${PACKAGES}/somebodyelse:${PACKAGES}/yourself
mkdir -p ${PACKAGES}/yourself
mkdir -p ${PACKAGES}/somebodyelse
export HAS_PACKAGE_DIRS=$(grep PACKAGE_DIRS ~/.profile | grep -c ${PACKAGES} ~/.profile)
[[ ${HAS_PACKAGE_DIRS} -lt 1 ]] && echo -e "\n#\nexport PACKAGE_DIRS=${PACKAGE_DIRS}" >> ~/.profile

export ALREADY_INSTALLED=$(meteor list | grep -c "yourself:yourpackage")
[[ ${ALREADY_INSTALLED} -gt 0 ]] && echo Skip
 

Clone this wiki locally