#!/bin/bash set -e set -x tar -xzf slstatus-1.1.tar.gz cd slstatus-1.1 patch <../my.diff make config.h sudo make install