diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-11-25 18:08:27 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-11-25 18:29:06 +0000 |
commit | 4c5a904babd8dbeb3a002ef928fa42d70e6aed58 (patch) | |
tree | 0d57a9bebca89727d9e2320c6d0a570d33383c26 /qarepo-helper | |
parent | f2caaa0e357b2a321fe5e26b08c4c1ad50c96be2 (diff) | |
download | qarepo-4c5a904babd8dbeb3a002ef928fa42d70e6aed58.tar qarepo-4c5a904babd8dbeb3a002ef928fa42d70e6aed58.tar.gz qarepo-4c5a904babd8dbeb3a002ef928fa42d70e6aed58.tar.bz2 qarepo-4c5a904babd8dbeb3a002ef928fa42d70e6aed58.tar.xz qarepo-4c5a904babd8dbeb3a002ef928fa42d70e6aed58.zip |
Use file:// prefix when adding local repository, to only allow local path.
Diffstat (limited to 'qarepo-helper')
-rwxr-xr-x | qarepo-helper | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qarepo-helper b/qarepo-helper index 00107fa..49a4b61 100755 --- a/qarepo-helper +++ b/qarepo-helper @@ -1,6 +1,6 @@ #!/bin/sh case $1 in disable) /usr/sbin/urpmi.removemedia "QA Testing ($2-bit)";; - enable) /usr/sbin/urpmi.addmedia --update "QA Testing ($2-bit)" $3;; + enable) /usr/sbin/urpmi.addmedia --update "QA Testing ($2-bit)" file://$3;; update) /usr/sbin/urpmi.update "QA Testing ($2-bit)";; esac |