Skip to content

Instantly share code, notes, and snippets.

@egel
Created August 6, 2015 11:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save egel/0ef5e765108610d27ccf to your computer and use it in GitHub Desktop.
Save egel/0ef5e765108610d27ccf to your computer and use it in GitHub Desktop.
#!/bin/bash
COMMAND=$(profitelo --version)
if [ "$COMMAND" == "v1.0.4" ]
then
sed -i "s/GIT_PROJECT_FOLDER_PATH/GIT_PROJECT_FOLDER_DIR/" ~/.profiteloconfig
echo "Update .profiteloconfig successfully :)"
fi
@egel
Copy link
Author

egel commented Aug 6, 2015

copy and paste in terminal:

wget https://gist.githubusercontent.com/egel/0ef5e765108610d27ccf/raw/ffafde9e0b7352d7b633b9adf4ebb1adc5725e99/profitelo_migrate_v1.0.2_to_v1.0.4.sh -q -O- | bash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment