Skip to content

Commit

Permalink
Allow installer deactivation
Browse files Browse the repository at this point in the history
Signed-off-by: Héctor Molinero Fernández <[email protected]>
  • Loading branch information
hectorm committed Jan 15, 2020
1 parent 5201501 commit 7cf0a2e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from distutils.util import strtobool
import os
import glob
import shutil
Expand Down Expand Up @@ -43,7 44,8 @@ def installer():
os.system("systemctl enable fstrim.timer")


installer()
if strtobool(os.environ.get("PWNAGOTCHI_ENABLE_INSTALLER", "1")):
installer()

with open('requirements.txt') as fp:
required = [line.strip() for line in fp if line.strip() != ""]
Expand Down

0 comments on commit 7cf0a2e

Please sign in to comment.