mirror of
https://codeberg.org/kiss-community/repo
synced 2024-11-16 03:30:23 -07:00
25 lines
470 B
Bash
Executable File
25 lines
470 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
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.
|
|
;;
|
|
|
|
*)
|
|
cp -f "$doc" "$1/usr/share/doc/kiss/${doc##*/}"
|
|
;;
|
|
esac
|
|
done
|
|
|
|
# Install the Wiki.
|
|
cp -r wiki "$1/usr/share/doc/kiss/wiki"
|