File tree 2 files changed +2
-11
lines changed
2 files changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,8 @@ It will install the SystemGuard app and its dependencies in the crontab and it w
42
42
43
43
``` bash
44
44
# install miniconda3 if not installed already
45
- chmod +x src/scripts/install_miniconda.sh && ./src/scripts/install_miniconda.sh
45
+ wget https://raw.githubusercontent.com/codeperfectplus/HackScripts/main/setup/install_miniconda.sh
46
+ chmod +x install_miniconda.sh && ./install_miniconda.sh
46
47
```
47
48
48
49
## Features 🚀
Original file line number Diff line number Diff line change 3
3
LOG_FILE=" /tmp/miniconda_installation.log"
4
4
MINICONDA_SCRIPT_URL=" https://raw.githubusercontent.com/codeperfectplus/HackScripts/main/setup/install_miniconda.sh"
5
5
MINICONDA_SCRIPT_PATH=" /tmp/install_miniconda.sh"
6
- EXPECTED_CHECKSUM=" abe9fde50a47831e7d17bee0d16af4bd5ea01e79ee6d744912a9bd3b31c1e4f0" # Replace with the actual checksum
7
6
8
7
log () {
9
8
echo " $( date ' +%Y-%m-%d %H:%M:%S' ) - $1 " | tee -a " $LOG_FILE "
@@ -44,15 +43,6 @@ install_miniconda() {
44
43
return 1
45
44
fi
46
45
47
- log " Verifying script integrity using checksum."
48
- DOWNLOAD_CHECKSUM=$( sha256sum " $MINICONDA_SCRIPT_PATH " | awk ' {print $1}' )
49
- echo " Downloaded checksum: $DOWNLOAD_CHECKSUM "
50
- if [ " $DOWNLOAD_CHECKSUM " = " $EXPECTED_CHECKSUM " ]; then
51
- log " Checksum verification passed."
52
- else
53
- log " Checksum verification failed. Aborting installation."
54
- return 1
55
- fi
56
46
57
47
chmod +x " $MINICONDA_SCRIPT_PATH "
58
48
You can’t perform that action at this time.
0 commit comments