80-repo-main 317 Bytes
Newer Older
Michael Shigorin's avatar
Michael Shigorin committed
1 2 3 4 5 6 7 8 9 10
#!/bin/sh -efu
# configure package repository of the image (provided by sub/main);
# this script will be run iff both live and repo features are used

DIR=/etc/apt/sources.list.d

mkdir -p $DIR && {
	echo "# for real stuff you'll need full repo, see apt-repo"
	echo "rpm file:/image ALTLinux main"
} > $DIR/main.list