#!/system/bin/sh

error() {
	echo 'Usage: almod <action>'
   	echo $1
    exit 1
}

if [[ "$1" != "install" ]] && [[ "$1" != "restore" ]]; then
	error '<action> must be one of: "install", "restore".'
fi  
sh /sdcard/.mods/new/$1.sh
exit 0


