40620fa18d
use/docs/license will copy the texts contained in branding package ("notes" one) over to the image's rootdir so these can be read with ease; otherwise one has to look up the right package at best (or unpack squashfs, no user can be really expected to do that just to *read* a *license*). This was originally profiles/scripts.d/01-copy-license script from m-p-d; got cut down heavily.
10 lines
199 B
Bash
Executable File
10 lines
199 B
Bash
Executable File
#!/bin/sh
|
|
# copy distro's licenses into image's rootdir
|
|
|
|
cd /usr/share/alt-notes || exit 0
|
|
|
|
find -maxdepth 1 -type f -name "license*.html" -print |
|
|
while read FILE; do
|
|
cp -av "$FILE" $WORKDIR/
|
|
done
|