diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-11-13 20:41:10 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-11-13 20:41:10 +0000 |
commit | fe135b820483b369b51c9dbf860793289a51811d (patch) | |
tree | 8324a00e4485ee32f31b94248cf7e8535789fb01 /qarepo-helper | |
parent | 5709e009a6ca69fa9cb8963aeb26cae7403afd3c (diff) | |
download | qarepo-fe135b820483b369b51c9dbf860793289a51811d.tar qarepo-fe135b820483b369b51c9dbf860793289a51811d.tar.gz qarepo-fe135b820483b369b51c9dbf860793289a51811d.tar.bz2 qarepo-fe135b820483b369b51c9dbf860793289a51811d.tar.xz qarepo-fe135b820483b369b51c9dbf860793289a51811d.zip |
Add the qarepo-helper script and its associated polkit rules/actions.
Diffstat (limited to 'qarepo-helper')
-rwxr-xr-x | qarepo-helper | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qarepo-helper b/qarepo-helper new file mode 100755 index 0000000..00107fa --- /dev/null +++ b/qarepo-helper @@ -0,0 +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;; + update) /usr/sbin/urpmi.update "QA Testing ($2-bit)";; +esac |