aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mga-advisories/templates/adv-move-pkg
blob: 39d246ecf34206c2f55a7995455b73b6ede0055b (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

if [ "$USER" != "<%= @mgaadv_login %>" ]; then
	echo "This script must be run as the <%= @mgaadv_login %> user." >&2
	exit 1
fi

exec sudo <%= @move_script %> "$@"