#!/bin/sh ######################################## # Repo, a repository manager for alnux # ######################################## if [ $(whoami) != root ]; then echo "[E] Run as root!" kill 2 else case $1 in add) git clone https://${3}/${2}.git /var/aps/repos/${2} ;; esac fi