1.7.4e code cleanup

This commit is contained in:
Dewalt 2023-08-05 06:51:28 -05:00
parent cc30cd78bd
commit f2abea8cd8
1 changed files with 3 additions and 1 deletions

View File

@ -386,6 +386,7 @@ fix_cme() {
sudo apt -y remove crackmapexec
fi
# root installation
if [[ $findrealuser == "root" ]];
then
echo -e "\n Starting $findrealuser user installation"
@ -402,11 +403,12 @@ fix_cme() {
then
echo "export PATH=$PATH:$HOME/.local/bin" >> $HOME/.$getshell"rc"
else
echo "\n $redexclaim Path is already exists for user $findrealuser "
echo "\n $redexclaim Path already exists for user $findrealuser "
fi
fix_cme_symlinks
fi
# user installation
if [[ $findrealuser != "root" ]];
then
echo -e "\n Starting $findrealuser user installation\n"