summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--console.apps_urpmi.update3
2 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2601fe9d..92beb857 100644
--- a/Makefile
+++ b/Makefile
@@ -47,6 +47,9 @@ install: all
# mime
mkdir -p $(DATADIR)/mimelnk/applications/
install -m644 x-mdv-exec.desktop $(DATADIR)/mimelnk/applications/
+ mkdir -p $(PREFIX)/etc/security/console.apps/
+ install -m644 console.apps_urpmi.update $(PREFIX)/etc/security/console.apps/urpmi.update
+ ln -sf ../sbin/urpmi.update $(PREFIX)/usr/bin/urpmi.update
# rules to build a test rpm
diff --git a/console.apps_urpmi.update b/console.apps_urpmi.update
new file mode 100644
index 00000000..75fafedf
--- /dev/null
+++ b/console.apps_urpmi.update
@@ -0,0 +1,3 @@
+PROGRAM=/usr/sbin/urpmi.update
+FALLBACK=false
+SESSION=true