Skip to content

Commit e987c51

Browse files
authored
Update install.sh
1 parent df2b528 commit e987c51

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

install.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/sh
22

3+
cd $(dirname $0)
4+
35
BASEDIR=$(dirname $(dirname $(dirname $(pwd))))
46
VENDOR_DIR=$(basename $(dirname $(dirname $(pwd))))
57
DIRNAME=mtproto-proxy
@@ -9,3 +11,5 @@ CD=$(pwd -P)
911
cd "${BASEDIR}"
1012
mv "${CD}/${FILES_DIR}" "${BASEDIR}/"
1113
mv "$VENDOR_DIR" "${BASEDIR}/${DIRNAME}"
14+
rm -f "composer.json"
15+
rm -f "composer.lock"

0 commit comments

Comments
 (0)