mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-11-04 14:05:41 -07:00
kiss: Drop special case. Alternatives / Hooks can handle this easily
This commit is contained in:
parent
3fdee15f60
commit
177588c713
9
kiss
9
kiss
@ -81,7 +81,8 @@ run_hook() {
|
|||||||
[ "${KISS_HOOK:-}" ] || {
|
[ "${KISS_HOOK:-}" ] || {
|
||||||
case $1 in post-build)
|
case $1 in post-build)
|
||||||
rm -rf "$3/usr/share/gettext" "$3/usr/share/polkit-1" \
|
rm -rf "$3/usr/share/gettext" "$3/usr/share/polkit-1" \
|
||||||
"$3/usr/share/locale" "$3/usr/share/info"
|
"$3/usr/share/locale" "$3/usr/share/info" \
|
||||||
|
"$3/usr/lib/charset.alias"
|
||||||
esac
|
esac
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
@ -630,12 +631,6 @@ pkg_build() {
|
|||||||
# database entry.
|
# database entry.
|
||||||
cp -LRf "$repo_dir" "$pkg_dir/$pkg/$pkg_db/"
|
cp -LRf "$repo_dir" "$pkg_dir/$pkg/$pkg_db/"
|
||||||
|
|
||||||
# We never ever want this. Let's end the endless conflicts and remove
|
|
||||||
# it. This will be the only exception for a specific removal of this
|
|
||||||
# kind. A 'find' is used instead of 'rm' so as to not hardcode the
|
|
||||||
# location to this file.
|
|
||||||
find "$pkg_dir/$pkg" -type f -name charset.alias -exec rm -f {} +
|
|
||||||
|
|
||||||
log "$pkg" "Successfully built package"
|
log "$pkg" "Successfully built package"
|
||||||
run_hook post-build "$pkg" "$pkg_dir/$pkg"
|
run_hook post-build "$pkg" "$pkg_dir/$pkg"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user