Skip to content

Commit

Permalink
fix exec permissions 2
Browse files Browse the repository at this point in the history
  • Loading branch information
RingOV committed Sep 25, 2016
1 parent f0a2ed1 commit df6f4f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gis-weather.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
#
# gis_weather.py
v = '0.8.0.39'
v = '0.8.0.40'
# Copyright (C) 2013-2015 Alexander Koltsov <ringov@mail.ru>
#
# This program is free software: you can redistribute it and/or modify
Expand Down
4 changes: 2 additions & 2 deletions scripts/build_deb.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ def main():
os.popen('find '+BUILD_PATH+' -type d -exec chmod 755 {} \;')
os.popen('find '+BUILD_PATH+' -type f -exec chmod 644 {} \;')

os.popen('chmod 755 '+BUILD_PATH+'/usr/bin/gis-weather')
os.popen('chmod +x '+BUILD_PATH+'/usr/bin/gis-weather')
os.popen('fakeroot chmod 755 '+BUILD_PATH+'/usr/bin/gis-weather')
# os.popen('fakeroot chmod +x '+BUILD_PATH+'/usr/bin/gis-weather')

#### Build DEB ####
a = os.popen('fakeroot dpkg-deb --build %s %s'%(BUILD_PATH, DEB_PATH+'/gis-weather_'+VERSION+'_all1.deb')).readlines()
Expand Down

0 comments on commit df6f4f0

Please sign in to comment.