We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b5fef3 commit b43e379Copy full SHA for b43e379
install
@@ -1,24 +1,27 @@
1
#!/bin/sh
2
3
_IS_DEV=false
4
-_BIN=$HOME/.debuno/bin/debuno
5
_DENO_BIN=$HOME/.deno/bin/debuno
6
7
_BASE=$(dirname $(realpath $0))
8
_INSTALL_DIR=$HOME/.debuno
9
+rm -rf $_INSTALL_DIR
10
+
11
if [ -d $_BASE/.git ]; then
12
_IS_DEV=true
13
_INSTALL_DIR=$_BASE
14
15
echo "Installing debuno in dev mode..."
16
+ echo "INSTALL_DIR: $_INSTALL_DIR"
17
else
18
echo "Installing debuno..."
- git clone https://github.com/serebano/debuno.git $HOME/.debuno
19
20
+ git clone https://github.com/serebano/debuno.git $_INSTALL_DIR
21
fi
22
23
_BIN_DIR=$_INSTALL_DIR/bin
-_EXE=$_BIN_DIR/debuno
24
+_BIN=$_BIN_DIR/debuno
25
26
if [ -L $_DENO_BIN ];
27
then rm $_DENO_BIN; fi
0 commit comments