kiss: minor fixes

This commit is contained in:
Dylan Araps 2021-07-20 20:06:57 +03:00
parent 972331be3d
commit a5548c7ea0
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
2 changed files with 8 additions and 14 deletions

View File

@ -4,21 +4,16 @@ mkdir -p \
"$1/usr/bin" \
"$1/usr/share/doc/kiss"
# Install kiss utilities.
cp -f kiss contrib/* "$1/usr/bin/"
# Install distribution documentation.
for doc in docs/site/*.txt; do
case $doc in
README.txt | news.txt | blog.txt | screenshots.txt)
# Skip.
;;
for doc in docs/site/*.txt; do case ${doc%%.txt} in
README|news|blog|screenshots)
# Skip.
;;
*)
cp -f "$doc" "$1/usr/share/doc/kiss/${doc##*/}"
;;
esac
done
*)
cp -f "$doc" "$1/usr/share/doc/kiss/${doc##*/}"
;;
esac done
# Install the Wiki.
cp -r wiki "$1/usr/share/doc/kiss/wiki"

View File

@ -1,2 +1 @@
curl
git