Pull to refresh
3
0
Send message
Зачем платить больше?

cat updatedeps.sh
#!/bin/bash
# Enable swap, run composer update, disable swap. That's it.

if [ ! -f /swapfile ]; then
    sudo dd if=/dev/zero of=/swapfile bs=1024 count=1024m
    sudo mkswap /swapfile
fi

sudo swapon /swapfile
composer update
sudo swapoff /swapfile

Information

Rating
Does not participate
Registered
Activity