mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-04-29 19:36:10 -04:00
fixed packaging script for debian release
This commit is contained in:
parent
f406d9af16
commit
889c27726e
@ -44,6 +44,9 @@ while [ ${#} -gt 0 ]; do
|
|||||||
rev=${1}
|
rev=${1}
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
|
# "-debian") shift
|
||||||
|
# debian="true"
|
||||||
|
# ;;
|
||||||
"-retrotor") shift
|
"-retrotor") shift
|
||||||
useretrotor="true"
|
useretrotor="true"
|
||||||
;;
|
;;
|
||||||
@ -147,6 +150,8 @@ echo Cleaning...
|
|||||||
|
|
||||||
echo Calling debuild...
|
echo Calling debuild...
|
||||||
for i in ${dist}; do
|
for i in ${dist}; do
|
||||||
|
|
||||||
|
if ! test "${i}" = "debian"; then
|
||||||
echo copying changelog for ${i}
|
echo copying changelog for ${i}
|
||||||
sed -e s/XXXXXX/"${rev}"/g -e s/YYYYYY/"${i}"/g -e s/ZZZZZZ/"${version_number}"/g ../changelog > debian/changelog
|
sed -e s/XXXXXX/"${rev}"/g -e s/YYYYYY/"${i}"/g -e s/ZZZZZZ/"${version_number}"/g ../changelog > debian/changelog
|
||||||
|
|
||||||
@ -160,8 +165,11 @@ for i in ${dist}; do
|
|||||||
echo Using standard control file control."${i}" for distribution "${i}"
|
echo Using standard control file control."${i}" for distribution "${i}"
|
||||||
cp ../debian/control debian/control
|
cp ../debian/control debian/control
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
echo creating official debian release. Using built-in changelog and control files
|
||||||
|
fi
|
||||||
|
|
||||||
debuild -S -k${gpgkey}
|
debuild -S -k${gpgkey} --lintian-opts +pedantic -EviIL
|
||||||
done
|
done
|
||||||
cd -
|
cd -
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user