mirror of
https://github.com/pygos/build.git
synced 2024-11-21 18:49:46 +01:00
tzdata: generat file listing dynamically
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit is contained in:
parent
6c24bad53b
commit
8369295b24
2 changed files with 6 additions and 1232 deletions
|
@ -20,6 +20,12 @@ deploy() {
|
|||
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$PKGDEPLOYDIR"
|
||||
|
||||
sed -i 's@/usr@@g' "$PKGDEPLOYDIR/bin/tzselect"
|
||||
|
||||
pkg_scan_dir "$PKGDEPLOYDIR/share/zoneinfo" | \
|
||||
sed "s#$PKGDEPLOYDIR/##g" >> "$PKGDEPLOYDIR/tzdata.files"
|
||||
|
||||
pkg_scan_dir "$PKGDEPLOYDIR/share/zoneinfo-leaps" | \
|
||||
sed "s#$PKGDEPLOYDIR/##g" >> "$PKGDEPLOYDIR/tzdata.files"
|
||||
}
|
||||
|
||||
check_update() {
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue