diff options
Diffstat (limited to 'bin/update')
-rwxr-xr-x | bin/update | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/bin/update b/bin/update deleted file mode 100755 index 71b91b6..0000000 --- a/bin/update +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -if [ -L $AK_WORKDIR/bin/ak ] -then - $source_dir ="$(ls -l $AK_WORKDIR/bin/ak | rev | cut -d ' ' -f 1 | rev | sed 's/bin\/ak//')" -else - echo "Can't update... ak script is not a link" - exit 1 -fi - -if [ -d ${source_dir} ] && [ -d ${source_dir}/.git ] -then - cd ${source_dir} - git pull - ./update.sh -else - echo "Can't update... source not found or not a git repository" - exit 1 -fi |