summaryrefslogtreecommitdiff
path: root/pkg/riseupvpn/pack_installers
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/riseupvpn/pack_installers')
-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: