summaryrefslogtreecommitdiffstats
path: root/install.py
diff options
context:
space:
mode:
Diffstat (limited to 'install.py')
-rwxr-xr-xinstall.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/install.py b/install.py
index 720a1ab..935c7df 100755
--- a/install.py
+++ b/install.py
@@ -43,5 +43,14 @@ except:
43 print("Error occurred. Make sure you run the script as root/with sudo.") 43 print("Error occurred. Make sure you run the script as root/with sudo.")
44 exit() 44 exit()
45 45
46# Determine destination directory for unit-trace script
47dst = '/usr/bin/unit-trace'
48try:
49 shutil.copyfile('unit-trace', dst)
50 # Keep same permissions
51 shutil.copystat('unit-trace', dst)
52except:
53 print("Error occurred. Make sure you run the script as root/with sudo.")
54 exit()
46 55
47 56