Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
p1ratrulezzz authored May 26, 2018
1 parent df2b528 commit e987c51
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

cd $(dirname $0)

BASEDIR=$(dirname $(dirname $(dirname $(pwd))))
VENDOR_DIR=$(basename $(dirname $(dirname $(pwd))))
DIRNAME=mtproto-proxy
Expand All @@ -9,3 +11,5 @@ CD=$(pwd -P)
cd "${BASEDIR}"
mv "${CD}/${FILES_DIR}" "${BASEDIR}/"
mv "$VENDOR_DIR" "${BASEDIR}/${DIRNAME}"
rm -f "composer.json"
rm -f "composer.lock"

0 comments on commit e987c51

Please sign in to comment.