#!/bin/bash if [ "`whoami`" != "root" ]; then echo "Need to be root." exit 1 fi (cd / && patch -p0) < desktop.patch