summaryrefslogtreecommitdiff
path: root/pkg/riseupvpn
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2018-04-11 14:30:16 +0200
committerRuben Pollan <meskio@sindominio.net>2018-04-11 16:40:12 +0200
commit0052c07c255d891564537d51a53667458dc0ee97 (patch)
treeead410553cb4b16c76933a3c970e49f5c8c879ac /pkg/riseupvpn
parent6773ce0f84e07f864d450dbe2374a52eb3b2eb97 (diff)
[docs] add a comment about the autogenerated install hook
Diffstat (limited to 'pkg/riseupvpn')
-rwxr-xr-xpkg/riseupvpn/pack_installers7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkg/riseupvpn/pack_installers b/pkg/riseupvpn/pack_installers
index 629e4157..d7692fa2 100755
--- a/pkg/riseupvpn/pack_installers
+++ b/pkg/riseupvpn/pack_installers
@@ -11,8 +11,11 @@ with open(os.path.join(HELPDIR, POLKIT_FILE)) as polkit:
with open(INSTALL, 'w') as install:
install.write('#!/usr/bin/env python3\n')
- install.write('# This helper installs bitmask-root and polkit policy file\n')
- install.write('import subprocess\n')
+ install.write('# DO NOT MODIFY MANUALLY\n')
+ install.write('# This helper installs the polkit policy file\n')
+ install.write('# for the RiseupVPN snap.\n')
+ install.write('# It is generated automatically\n')
+ install.write('# by the script at "pkg/riseupvpn/pack_installers" \n')
install.write('from base64 import decodestring as decode\n')
install.write("""
POLKIT = {polkit}