mirror of
https://codeberg.org/kiss-community/repo
synced 2024-12-21 23:00:06 -07:00
kiss: remove usage of install
This commit is contained in:
parent
60726d9f64
commit
898e246f75
@ -1,20 +1,24 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
mkdir -p "$1/usr/bin"
|
||||
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
|
||||
install -Dm644 "$doc" "$1/usr/share/doc/kiss/${doc##*/}"
|
||||
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"
|
||||
|
||||
# Remove unnecessary pages.
|
||||
rm -f "$1/usr/share/doc/kiss/wiki/README.txt" \
|
||||
"$1/usr/share/doc/kiss/news.txt" \
|
||||
"$1/usr/share/doc/kiss/blog.txt" \
|
||||
"$1/usr/share/doc/kiss/screenshots.txt"
|
||||
|
Loading…
Reference in New Issue
Block a user