Browse Source

Alejandro Mery <amery@geeks.cl>:

auto-maintainer - code taken from fmnewpackage.sh :-)


git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1412 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Alejandro Mery 21 years ago
parent
commit
9aad4056f4
2 changed files with 5 additions and 1 deletions
  1. +1
    -0
      Documentation/Developers/CHANGELOG-RENE
  2. +4
    -1
      misc/archive/newpackage.sh

+ 1
- 0
Documentation/Developers/CHANGELOG-RENE

@ -6,6 +6,7 @@
- improvements and some tiny clenups in misc/jailing
- the stone isntall module now lists the guessed partition content
- Mathieu: (real) support for .Z files, fix for dcc
- Alejandro Mery: fixed auto-mantainer in misc/newpackage.sh
*) 2003-09-14 (2.0.0-rc1 - 2.0.0-rc2)

+ 4
- 1
misc/archive/newpackage.sh

@ -67,6 +67,9 @@ if [ "$rep" != "*" ]; then
exit
fi
rep=${dir/\/$package/}
maintainer="$( grep -h -m 1 "\[M\]" package/$rep/*/*.desc | head -n 1 | cut -d' ' -f2- )"
echo -n "Creating package/$dir ... "
if [ -e package/$dir ] ; then
echo "failed"
@ -119,7 +122,7 @@ cat >>$package.desc <
[U] TODO: URL
[A] TODO: Author
[M] TODO: Maintainer
[M] ${maintainer:-TODO: Maintainer}
[C] TODO: Category

Loading…
Cancel
Save