summaryrefslogtreecommitdiffstatshomepage
path: root/dot_local/bin/executable_record
diff options
context:
space:
mode:
Diffstat (limited to 'dot_local/bin/executable_record')
-rwxr-xr-xdot_local/bin/executable_record3
1 files changed, 3 insertions, 0 deletions
diff --git a/dot_local/bin/executable_record b/dot_local/bin/executable_record
index ac88771..2601f9d 100755
--- a/dot_local/bin/executable_record
+++ b/dot_local/bin/executable_record
@@ -1,4 +1,7 @@
#!/usr/bin/env dash
+if [ "$(cat "$HOME/.config/dotfiles/role" 2>/dev/null)" = canonical ]; then
+ exec /usr/bin/python3 "$HOME/.local/lib/dotfiles/record.py" "$@"
+fi
pid_file="/tmp/recordpid"
log_file="/tmp/record.log"