* extfs/bpp: Fix file sizes, contents of INSTALL and UPGRADE.
Этот коммит содержится в:
родитель
f71323845c
Коммит
9d265c52d6
@ -1,3 +1,7 @@
|
|||||||
|
2002-12-09 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* extfs/bpp: Fix file sizes, contents of INSTALL and UPGRADE.
|
||||||
|
|
||||||
2002-12-08 Pavel Roskin <proski@gnu.org>
|
2002-12-08 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
* extfs/uar.in: Fix "copyin" command.
|
* extfs/uar.in: Fix "copyin" command.
|
||||||
|
@ -4,6 +4,8 @@
|
|||||||
# (a simple cut & paste from rpm vfs)
|
# (a simple cut & paste from rpm vfs)
|
||||||
# (C) 1996 The Free Software Foundation.
|
# (C) 1996 The Free Software Foundation.
|
||||||
#
|
#
|
||||||
|
# Package of a new italian distribution: Bad Penguin
|
||||||
|
# http://www.badpenguin.org/
|
||||||
|
|
||||||
# override any locale for dates
|
# override any locale for dates
|
||||||
unset LC_ALL
|
unset LC_ALL
|
||||||
@ -14,19 +16,20 @@ mcbppfs_list ()
|
|||||||
{
|
{
|
||||||
FILEPREF="-r--r--r-- 1 root root "
|
FILEPREF="-r--r--r-- 1 root root "
|
||||||
FIEXPREF="-r-xr-xr-x 1 root root "
|
FIEXPREF="-r-xr-xr-x 1 root root "
|
||||||
#Insert date here!
|
DATE=`date +"%b %d %H:%M"`
|
||||||
#DATE=`rpm -qp --qf "%{BUILDTIME:date}\n" "$1" | cut -c 5-11,21-24`
|
set x `ls -l $1`
|
||||||
DATE="Oct 27 2000"
|
size=$6
|
||||||
#Insert header here!
|
echo "$FILEPREF $size $DATE CONTENTS.tar.gz"
|
||||||
echo "$FILEPREF 0 $DATE CONTENTS.tar.gz"
|
echo "$FIEXPREF 35 $DATE INSTALL"
|
||||||
echo "$FIEXPREF 39 $DATE INSTALL"
|
echo "$FIEXPREF 35 $DATE UPGRADE"
|
||||||
echo "$FIEXPREF 39 $DATE UPGRADE"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mcbppfs_copyout ()
|
mcbppfs_copyout ()
|
||||||
{
|
{
|
||||||
case "$2" in
|
case "$2" in
|
||||||
CONTENTS.tar.gz) cat "$1" > "$3"; exit 0;;
|
CONTENTS.tar.gz) cat "$1" > "$3"; exit 0;;
|
||||||
|
INSTALL) echo "# Run this to install this package" > "$3"; exit 0;;
|
||||||
|
UPGRADE) echo "# Run this to upgrade this package" > "$3"; exit 0;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user