manifest 293 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/bin/sh

os="$(cat "${__global:?}"/explorer/os)"

case "$os" in
	"alpine")
		borg_package=borgbackup
		;;
	*)
		echo "__borg_repo is not yet implemented for os $os. Aborting." >&2;
		exit 1;
esac

__package "$borg_package"
15 16 17 18 19

if [ -f "${__object:?}/parameter/owner" ];
then
	__package sudo
fi