1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-14 15:37:11 +01:00

kbd: only package resizecons if it is generated

This program is not build for all target platforms.

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit is contained in:
David Oberhollenzer 2020-04-07 04:54:13 +02:00
parent 8dc1802a0e
commit e4167ddf2a
2 changed files with 4 additions and 1 deletions

View file

@ -21,6 +21,10 @@ build() {
deploy() { deploy() {
make DESTDIR="$PKGDEPLOYDIR" install make DESTDIR="$PKGDEPLOYDIR" install
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$PKGDEPLOYDIR" cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$PKGDEPLOYDIR"
if [ -f "$PKGDEPLOYDIR/bin/resizecons" ]; then
echo "file bin/resizecons 0755 0 0" >> "$PKGDEPLOYDIR/kbd.files"
fi
} }
check_update() { check_update() {

View file

@ -12,7 +12,6 @@ file bin/loadunimap 0755 0 0
file bin/mapscrn 0755 0 0 file bin/mapscrn 0755 0 0
file bin/openvt 0755 0 0 file bin/openvt 0755 0 0
file bin/psfxtable 0755 0 0 file bin/psfxtable 0755 0 0
file bin/resizecons 0755 0 0
file bin/setfont 0755 0 0 file bin/setfont 0755 0 0
file bin/setkeycodes 0755 0 0 file bin/setkeycodes 0755 0 0
file bin/setleds 0755 0 0 file bin/setleds 0755 0 0