mirror of
https://github.com/YunoHost-Apps/searx_ynh.git
synced 2024-09-03 20:16:30 +02:00
Update install
This commit is contained in:
parent
fe9d3d6299
commit
7b6bac7e9d
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ sudo apt-get install git build-essential libxslt-dev python-dev python-virtualen
|
||||||
# Check Swap
|
# Check Swap
|
||||||
if [ $(sudo swapon -s | wc -l) = 1 ];
|
if [ $(sudo swapon -s | wc -l) = 1 ];
|
||||||
then
|
then
|
||||||
sudo dd if=/dev/zero of=/tmp/myswapfile bs=1M count=128
|
sudo dd if=/dev/zero of=/tmp/myswapfile bs=1M count=512
|
||||||
sudo chmod 600 /tmp/myswapfile
|
sudo chmod 600 /tmp/myswapfile
|
||||||
sudo mkswap /tmp/myswapfile
|
sudo mkswap /tmp/myswapfile
|
||||||
sudo swapon /tmp/myswapfile
|
sudo swapon /tmp/myswapfile
|
||||||
|
|
Loading…
Add table
Reference in a new issue