Skip to content

Commit 988fe5e

Browse files
authored
Merge pull request #859 from chriseth/fixppa
Fix ppa script
2 parents 3fc68da + ba4cfda commit 988fe5e

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

Changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Features:
44

55
Bugfixes:
66

7-
### 0.3.6 (2016-08-08)
7+
### 0.3.6 (2016-08-10)
88

99
Features:
1010

scripts/release_ppa.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ else
2727
fi
2828

2929
if [ "$branch" = develop ]
30+
then
3031
pparepo=ethereum/ethereum-dev
3132
ppafilesurl=https://launchpad.net/~ethereum/+archive/ubuntu/ethereum-dev/+files
3233
else
@@ -57,7 +58,7 @@ commitdate=`git show --format=%ci HEAD | head -n 1 | cut - -b1-10`
5758

5859
# TODO store the commit hash in a file so that the build info mechanism can pick it up even without git
5960

60-
if [ $branch = develop]
61+
if [ $branch = develop ]
6162
then
6263
debversion="$version-nightly-$commitdate-$commithash"
6364
else
@@ -67,7 +68,7 @@ fi
6768
# gzip will create different tars all the time and we are not allowed
6869
# to upload the same file twice with different contents, so we only
6970
# create it once.
70-
if [ -n -e /tmp/${packagename}_${debversion}.orig.tar.gz ]
71+
if [ ! -e /tmp/${packagename}_${debversion}.orig.tar.gz ]
7172
then
7273
tar --exclude .git -czf /tmp/${packagename}_${debversion}.orig.tar.gz .
7374
fi
@@ -117,6 +118,8 @@ Package: solc
117118
Architecture: any-i386 any-amd64
118119
Multi-Arch: same
119120
Depends: \${shlibs:Depends}, \${misc:Depends}, $jsoncpplib
121+
Replaces: lllc (<< 1:0.3.6)
122+
Conflicts: libethereum (<= 1.2.9)
120123
Description: Solidity compiler.
121124
The commandline interface to the Solidity smart contract compiler.
122125
EOF
@@ -194,7 +197,7 @@ mkdir debian/source
194197
echo "3.0 (quilt)" > debian/source/format
195198
chmod +x debian/rules
196199

197-
versionsuffix=0ubuntu4~${distribution}
200+
versionsuffix=0ubuntu1~${distribution}
198201
# bump version / add entry to changelog
199202
EMAIL="$email" dch -v 1:${debversion}-${versionsuffix} "git build of ${commithash}"
200203

0 commit comments

Comments
 (0)