Skip to content
This repository has been archived by the owner on Oct 11, 2021. It is now read-only.

Commit

Permalink
Update kiss.
Browse files Browse the repository at this point in the history
  • Loading branch information
jedavies-dev committed Jun 12, 2020
1 parent cac851b commit ee24f53
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions repo/kiss/build
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

install -D kiss "$1/usr/bin/kiss"
install -D kiss_path.sh "$1/etc/profile.d/kiss_path.sh"
install -Dm 644 kiss.1 "$1/usr/share/man/man1/kiss.1"

# Add arch-specific path.
sed -i 's/KISS_PATH=/KISS_PATH=\/var\/db\/kiss\/kiss-aarch64\/repo:/g' "$1/etc/profile.d/kiss_path.sh"
Expand All @@ -11,11 +10,15 @@ sed -i 's/KISS_PATH=/KISS_PATH=\/var\/db\/kiss\/kiss-aarch64\/repo:/g' "$1/etc/p
cp contrib/* "$1/usr/bin/"

# Install distribution documentation.
for doc in faq guidestones install package-system package-manager; do
install -Dm644 "docs/site/$doc.txt" \
"$1/usr/share/doc/kiss/$doc.txt"
for doc in docs/site/*.txt; do
install -Dm644 "$doc" "$1/usr/share/doc/kiss/${doc##*/}"
done

# Install the Wiki documentation.
# Install the Wiki.
cp -r wiki "$1/usr/share/doc/kiss/wiki"
rm -f "$1/usr/share/docs/kiss/wiki/README.txt"

# 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"

0 comments on commit ee24f53

Please sign in to comment.