aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrepoctl4
1 files changed, 3 insertions, 1 deletions
diff --git a/repoctl b/repoctl
index fdc31a0..023fa06 100755
--- a/repoctl
+++ b/repoctl
@@ -1,6 +1,8 @@
#!/bin/bash
-. ./functions
+REPOCTL_FUNCTIONS='/usr/share/repoctl/functions'
+[ -f /etc/repoctl_functions ] && REPOCTL_FUNCTIONS=$(cat /etc/repoctl_functions)
+. $REPOCTL_FUNCTIONS
function usage_cmd()
{