Update Tue Jun 1 11:01:02 PM CDT 2021
This commit is contained in:
parent
04fe7387e3
commit
2b782e2cc8
|
|
@ -483,17 +483,12 @@ install_sublime () {
|
||||||
eval apt -y install sublime-text
|
eval apt -y install sublime-text
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# 06.01.21 - Function rewrite code-oss was added to Kali repo
|
||||||
install_vscode () {
|
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
|
if [[ -f /usr/bin/code ]]; then
|
||||||
echo -e "\n $greenminus vscode already installed - skipping"
|
echo -e "\n $greenminus vscode already installed - skipping"
|
||||||
else
|
else
|
||||||
echo -e "\n $greenplus installing vscode"
|
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
|
apt_update && apt_update_complete && apt -y install code-oss
|
||||||
echo -e "\n $greenplus vscode - installed "
|
echo -e "\n $greenplus vscode - installed "
|
||||||
fi
|
fi
|
||||||
|
|
@ -615,7 +610,6 @@ perform_copy_to_root () {
|
||||||
echo -e "\n $greenplus Everything from /home/kali has been copied to /root"
|
echo -e "\n $greenplus Everything from /home/kali has been copied to /root"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
fix_sead_warning () {
|
fix_sead_warning () {
|
||||||
clear
|
clear
|
||||||
# fugly - really need to clean this up, it works but its just a nightmare to look at
|
# fugly - really need to clean this up, it works but its just a nightmare to look at
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue