summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-03-09 11:59:43 +0000
committerThierry Vignaud <tv@mandriva.org>2007-03-09 11:59:43 +0000
commitc3642c8459cc303a6b00718b94a4b1e53b8c4c01 (patch)
tree9f359dc5452fd0586140cddbe3df3d8b2a8f8568
parent7814515ab5b625801be989cc036e39483c43e0f1 (diff)
downloadmgaonline-c3642c8459cc303a6b00718b94a4b1e53b8c4c01.tar
mgaonline-c3642c8459cc303a6b00718b94a4b1e53b8c4c01.tar.gz
mgaonline-c3642c8459cc303a6b00718b94a4b1e53b8c4c01.tar.bz2
mgaonline-c3642c8459cc303a6b00718b94a4b1e53b8c4c01.tar.xz
mgaonline-c3642c8459cc303a6b00718b94a4b1e53b8c4c01.zip
enable to run urpmi.update from mdkapplet as user
-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