summaryrefslogtreecommitdiff
path: root/scripts/makeppa
diff options
context:
space:
mode:
authorruki <[email protected]>2017-04-07 10:21:07 +0800
committerruki <[email protected]>2017-04-07 10:21:07 +0800
commit591dff94e078ce1064ec24e6b5550c78fc936807 (patch)
tree6beeeff8d5810d6eba7b2faecbe1f9f24870572e /scripts/makeppa
parent3085ff44c910916e6378982f14a9bbf2bcbe50ac (diff)
modify debian changelog
Diffstat (limited to 'scripts/makeppa')
-rwxr-xr-xscripts/makeppa2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makeppa b/scripts/makeppa
index 1a7ddaacf..56ff5a8ca 100755
--- a/scripts/makeppa
+++ b/scripts/makeppa
@@ -56,7 +56,7 @@ lintian ../xmake_$version-1.dsc
while true; do
read -p "Do you wish to upload this package? (y/n)" yn
case $yn in
- [Yy]* ) dput ppa:waruqi/xmake ../xmake_$version-1_source.changes; break;;
+ [Yy]* ) if [ -f ../xmake_$version-1_source.ppa.upload ]; then rm ../xmake_$version-1_source.ppa.upload; fi ; dput ppa:waruqi/xmake ../xmake_$version-1_source.changes; break;;
[Nn]* ) exit;;
* ) echo "Please answer y or n.";;
esac