Старый postinstall

This commit is contained in:
commit 4337a3f94e
349 changed files with 21945 additions and 0 deletions

11
postinstall/root.py Normal file
View file

@ -0,0 +1,11 @@
import os
import sys
def check_root():
if os.geteuid() != 0:
print("Запустите скрипт с правами суперпользователя")
sys.exit(1)
check_root()