portzap/libexec/portzap/install-file

9 lines
174 B
Bash
Executable file

#!/bin/sh
dest=$1
group=_portzap
mode=u=rw,g=rw,o=
files=""
for i in $(seq 2 $#); do
files="${files} $(eval echo -n \${$i})"
done
install -g $group -m $mode $files $dest