1.7.4e code cleanup
This commit is contained in:
parent
cc30cd78bd
commit
f2abea8cd8
|
|
@ -386,6 +386,7 @@ fix_cme() {
|
||||||
sudo apt -y remove crackmapexec
|
sudo apt -y remove crackmapexec
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# root installation
|
||||||
if [[ $findrealuser == "root" ]];
|
if [[ $findrealuser == "root" ]];
|
||||||
then
|
then
|
||||||
echo -e "\n Starting $findrealuser user installation"
|
echo -e "\n Starting $findrealuser user installation"
|
||||||
|
|
@ -402,11 +403,12 @@ fix_cme() {
|
||||||
then
|
then
|
||||||
echo "export PATH=$PATH:$HOME/.local/bin" >> $HOME/.$getshell"rc"
|
echo "export PATH=$PATH:$HOME/.local/bin" >> $HOME/.$getshell"rc"
|
||||||
else
|
else
|
||||||
echo "\n $redexclaim Path is already exists for user $findrealuser "
|
echo "\n $redexclaim Path already exists for user $findrealuser "
|
||||||
fi
|
fi
|
||||||
fix_cme_symlinks
|
fix_cme_symlinks
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# user installation
|
||||||
if [[ $findrealuser != "root" ]];
|
if [[ $findrealuser != "root" ]];
|
||||||
then
|
then
|
||||||
echo -e "\n Starting $findrealuser user installation\n"
|
echo -e "\n Starting $findrealuser user installation\n"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue