Update Tue Jun 1 11:01:02 PM CDT 2021

This commit is contained in:
Dewalt 2021-06-01 23:01:02 -05:00
parent 04fe7387e3
commit 2b782e2cc8
1 changed files with 2 additions and 8 deletions

View File

@ -483,17 +483,12 @@ install_sublime () {
eval apt -y install sublime-text
}
# 06.01.21 - Function rewrite code-oss was added to Kali repo
install_vscode () {
# check_vscode=$(cat /etc/apt/sources.list | grep -c "https://packages.microsoft.com/repos/vscode stable main")
check_vscode=$(whereis code | grep -i -c "code")
if [[ -f /usr/bin/code ]]; then
echo -e "\n $greenminus vscode already installed - skipping"
else
echo -e "\n $greenplus installing vscode"
#echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" >> /etc/apt/sources.list
#eval curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
#eval mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
apt_update && apt_update_complete && apt -y install code-oss
echo -e "\n $greenplus vscode - installed "
fi
@ -615,7 +610,6 @@ perform_copy_to_root () {
echo -e "\n $greenplus Everything from /home/kali has been copied to /root"
}
fix_sead_warning () {
clear
# fugly - really need to clean this up, it works but its just a nightmare to look at