|
Revision 261, 489 bytes
(checked in by ludo, 2 years ago)
|
replaced copydeb2dist by Update.packages and Updatedebwbm
|
- Property svn:executable set to
*
|
| Line | |
|---|
| 1 |
#!/bin/bash |
|---|
| 2 |
# copy the last version of .deb packages to the distribution directories |
|---|
| 3 |
# and update the package list |
|---|
| 4 |
|
|---|
| 5 |
DEST=/home/weex/ftp/base/deb/ |
|---|
| 6 |
DEST_ORG=/home/weex/lrsorg/bin/ |
|---|
| 7 |
|
|---|
| 8 |
PACK=$1 |
|---|
| 9 |
PACKD=`echo $1|tr _ -` |
|---|
| 10 |
|
|---|
| 11 |
# find the last release |
|---|
| 12 |
VER=`head -1 $PACK/debian/changelog|cut -f 2 -d " "|tr -d \(\)` |
|---|
| 13 |
|
|---|
| 14 |
echo $VER |
|---|
| 15 |
|
|---|
| 16 |
DEB=webmin-${PACKD}_${VER}_all.deb |
|---|
| 17 |
./mkmodule $PACK $PACK |
|---|
| 18 |
WBM=${PACK}-${VER}.wbm |
|---|
| 19 |
|
|---|
| 20 |
#cp -av $DEB $DEST/woody |
|---|
| 21 |
cp -av $DEB $DEST_ORG |
|---|
| 22 |
cp -av $PACK.wbm $DEST_ORG/../webmin/$WBM |
|---|
| 23 |
|
|---|
| 24 |
exit |
|---|
| 25 |
|
|---|