Skip to content
Snippets Groups Projects
Commit 4bd5b11c authored by Ruben Rodriguez's avatar Ruben Rodriguez
Browse files

Added system to ensure changelogs are identical across archs

parent 954d1a6d
No related branches found
No related tags found
No related merge requests found
...@@ -67,6 +67,9 @@ find $3 -type f -not -iregex '.*changelog.*' -not -iregex '.*copyright.*' -execd ...@@ -67,6 +67,9 @@ find $3 -type f -not -iregex '.*changelog.*' -not -iregex '.*copyright.*' -execd
} }
changelog(){ changelog(){
echo | dch -D $CODENAME -v $(/bin/sed -n '1s/^.*(\(.*\)).*/\1'+${REVISION}trisquel${VERSION}'/p' debian/changelog) "$1" echo | dch -D $CODENAME -v $(/bin/sed -n '1s/^.*(\(.*\)).*/\1'+${REVISION}trisquel${VERSION}'/p' debian/changelog) "$1"
# Make sure the changelog file is identical between archs
/bin/sed "/-- Trisquel/s/.*/ -- Trisquel GNU\/Linux developers <trisquel-devel@listas.trisquel.info> $DATE/" -i debian/changelog
} }
rm -rf PACKAGES/$PACKAGE rm -rf PACKAGES/$PACKAGE
...@@ -80,13 +83,9 @@ deb $MIRROR $UPSTREAM-security main universe ...@@ -80,13 +83,9 @@ deb $MIRROR $UPSTREAM-security main universe
deb-src $MIRROR $UPSTREAM main universe deb-src $MIRROR $UPSTREAM main universe
deb-src $MIRROR $UPSTREAM-updates main universe deb-src $MIRROR $UPSTREAM-updates main universe
deb-src $MIRROR $UPSTREAM-security main universe deb-src $MIRROR $UPSTREAM-security main universe
deb-src http://download.sugarlabs.org/packages/SweetsDistribution:/0.94/Ubuntu-11.10/ ./
deb-src http://download.sugarlabs.org/packages/SweetsDistribution/Ubuntu-11.10/ ./
deb $DEVELMIRROR $CODENAME main deb $DEVELMIRROR $CODENAME main
EOF EOF
wget http://download.sugarlabs.org/packages/SweetsDistribution:/0.94/Ubuntu-11.04/Release.key -O - -o /dev/null|apt-key add -
[ "1$EXTERNAL" != "1" ] && eval echo "$EXTERNAL" >> /etc/apt/sources.list [ "1$EXTERNAL" != "1" ] && eval echo "$EXTERNAL" >> /etc/apt/sources.list
apt-get update apt-get update
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment