kiss: Don't hardcode path to charset.alias
This commit is contained in:
parent
33b8ef33bb
commit
99f007c24f
5
kiss
5
kiss
|
@ -713,8 +713,9 @@ pkg_build() {
|
||||||
|
|
||||||
# We never ever want this. Let's end the endless conflicts
|
# We never ever want this. Let's end the endless conflicts
|
||||||
# and remove it. This will be the only exception for a
|
# and remove it. This will be the only exception for a
|
||||||
# specific removal of this kind.
|
# specific removal of this kind. A 'find' is used instead
|
||||||
rm -f "$pkg_dir/$pkg/usr/lib/charset.alias"
|
# 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