From 0052c07c255d891564537d51a53667458dc0ee97 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Wed, 11 Apr 2018 14:30:16 +0200 Subject: [docs] add a comment about the autogenerated install hook --- pkg/riseupvpn/pack_installers | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'pkg') 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} -- cgit v1.2.3