File tree Expand file tree Collapse file tree 4 files changed +15
-3
lines changed Expand file tree Collapse file tree 4 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 368368 do_project_checks
369369 do_env_checks
370370 do_python3_checks
371- sudo echo " Please enter sudo pasword if prompted"
371+ echo " Please enter sudo pasword if prompted"
372372 do_docker_checks
373373
374374 if [[ " $DOCKER_VERSION_GOOD " == " true" ]] && \
Original file line number Diff line number Diff line change @@ -21,4 +21,4 @@ elif [ $1 = "disableswap" ]; then
2121 echo " set swappiness to 0 for immediate effect"
2222else
2323 echo " Param not set, pass either 'uninstallswap' or 'disableswap'"
24- fi
24+ fi
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ if [ ! -d ~ /log2ram ]; then
4+ git clone https://github.com/azlux/log2ram.git ~ /log2ram
5+ chmod +x ~ /log2ram/install.sh
6+ pushd ~ /log2ram
7+ sudo ./install.sh
8+ popd
9+ else
10+ echo " Log2RAM is already installed. You can reinstall by running: 'sudo ./install.sh' from ~/log2ram "
11+ sleep 1
12+ fi
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ def uninstallSwapfile():
4343 def installLog2Ram ():
4444 print (term .clear ())
4545 print ("Install log2ram:" )
46- subprocess .call ("bash disable_swap .sh" , shell = True )
46+ subprocess .call ("./scripts/install_log2ram .sh" , shell = True )
4747 print ("" )
4848 input ("Process terminated. Press [Enter] to show menu and continue." )
4949 return True
You can’t perform that action at this time.
0 commit comments