fix(path): change tmp_install path

This commit is contained in:
Aliberk Sandıkçı 2022-10-27 10:49:53 +03:00
parent dbe71ef504
commit 04c129b329

View file

@ -1,6 +1,7 @@
#!/bin/bash #!/bin/bash
# installation script # installation script
cd "$HOME" || exit CUR_HOME=$(compgen -f -- /home/bot*)
cd "$CUR_HOME" || exit
mkdir tmp_install mkdir tmp_install
cd tmp_install || exit cd tmp_install || exit
sudo apt install curl -y sudo apt install curl -y
@ -20,7 +21,9 @@ chmod +x prerequisites.sh
chmod +x applications.sh chmod +x applications.sh
bash prerequisites.sh bash prerequisites.sh
bash applications.sh bash applications.sh
COMPREPLYa=$(compgen -f -- /home/bot*/.vscode/extensions) EX_PATH="$CUR_HOME"/.vscode/extensions/
cp -r danielpinto8zz6.c-cpp-compile-run-1.0.18 "$COMPREPLYa" mkdir -p "$EX_PATH"
cp -r danielpinto8zz6.c-cpp-compile-run-1.0.18 "$EX_PATH"
cd || exit cd || exit
rm -r tmp_install rm -r tmp_install
echo "INSTALLATION SUCCESSFULLY COMPLETED"