6 Commits

Author SHA1 Message Date
Ivan Malopinsky 97c7dfb4b5 bump to 1.2.3 2015-12-03 12:45:31 -05:00
Ivan Malopinsky 46a74c1b08 Merge pull request #58 from bfontaine/patch-1
install: create the parent directory if necessary
2015-12-03 12:34:50 -05:00
Baptiste Fontaine b9336549c1 install: create the parent directory if necessary
This ensures the parent directory always exists.
2015-12-03 18:28:25 +01:00
Ivan Malopinsky 30ee8139f7 make install dir an argument 2015-12-03 00:18:03 -05:00
Ivan Malopinsky 4482885845 only echo install message if copy succeeded 2015-12-02 23:54:30 -05:00
Ivan Malopinsky 615988dc01 Merge pull request #57 from imsky/remove-makefile
move install step to separate script, remove dependency on make
2015-11-27 13:12:10 -05:00
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
INSTALL_DIR=${INSTALL_DIR:-/usr/local/bin}
INSTALL_DIR=${1:-/usr/local/bin}
cp git-fresh $INSTALL_DIR
[ -e $INSTALL_DIR/git-fresh ] && echo git-fresh installed in $INSTALL_DIR
mkdir -p $INSTALL_DIR
cp git-fresh $INSTALL_DIR && ([ -e $INSTALL_DIR/git-fresh ] && echo git-fresh installed in $INSTALL_DIR)
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "git-fresh",
"version": "1.2.0",
"version": "1.2.3",
"description": "Utility to keep Git repositories fresh",
"global": true,
"repo": "imsky/git-fresh",