summaryrefslogtreecommitdiff
path: root/pkg/riseupvpn
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2018-03-01 17:34:22 +0100
committerKali Kaneko <kali@leap.se>2018-03-02 03:54:24 +0100
commite1e1aaaeef34a218448180daaf28d9537488b15d (patch)
tree8a04f57a5bdbf73c9018d7f6f2f48dc24adef77b /pkg/riseupvpn
parentfa2f259c86b7d78b65e6e48976cc7b377cd866da (diff)
[pkg] fix packer so that file hash matches
Diffstat (limited to 'pkg/riseupvpn')
-rwxr-xr-xpkg/riseupvpn/pack_installers6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkg/riseupvpn/pack_installers b/pkg/riseupvpn/pack_installers
index ece1cfb9..eb3a08bb 100755
--- a/pkg/riseupvpn/pack_installers
+++ b/pkg/riseupvpn/pack_installers
@@ -22,8 +22,10 @@ POLKIT = \"\"\"{polkit}\"\"\"
BMROOT_DEST = "/usr/local/sbin/bitmask-root"
with open(BMROOT_DEST, "w") as bmroot:
lines = str(decode(BMROOT)).split("\\n")
- for line in lines:
- bmroot.write(line + "\\n")
+ for i, line in enumerate(lines):
+ bmroot.write(line)
+ if i + 1 != len(lines):
+ bmroot.write("\\n")
with open('/usr/share/polkit-1/actions/se.leap.bitmask.bundle.policy', 'w') as polkit:
lines = str(decode(POLKIT)).split("\\n")
for line in lines: