Bug 190026 - /opt/kde3/bin/kde_add_yast_source.sh contains installation_sources
Summary: /opt/kde3/bin/kde_add_yast_source.sh contains installation_sources
Status: RESOLVED DUPLICATE of bug 174369
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: KDE (show other bugs)
Version: Final
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-01 20:10 UTC by Forgotten User 7L3tOtZIov
Modified: 2006-07-10 12:31 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Forgotten User 7L3tOtZIov 2006-07-01 20:10:21 UTC
When you rightclick in konquror, you are able to add a directory as an installation source. This is not possible, because /opt/kde3/bin/kde_add_yast_source.sh uses installation_sources which is not available anymore in 10.1.
Comment 1 Christian Boltz 2006-07-01 22:52:23 UTC
That's probably the smallest problem - YaST currently doesn't support plain directories as installation sources.

This is related to bug 168358 - see comment #15 there for a workaround.
Comment 2 Forgotten User 7L3tOtZIov 2006-07-02 00:07:28 UTC
With some small changes it can be less convinient. Now people get no error, even though the directory is not added. You could do the following.
1) Change the name of the action (and perhaps the icon) to clarify that this is not for YaST as such.
2) Edit the script to say the following:

#!/bin/sh
MESSAGE=`rug mount "$*"`
if echo "$MESSAGE" | grep -q ERROR; then
 /opt/kde3/bin/kdialog --error "$MESSAGE"
else
 /opt/kde3/bin/kdialog --msgbox \
   "`TEXTDOMAINDIR=/opt/kde3/share/locale/ gettext -d kdebase-SUSE -s "Installation source added."`"
fi

This untill a more permanent solution is found.
Comment 3 Stephan Binner 2006-07-10 12:31:29 UTC

*** This bug has been marked as a duplicate of 174369 ***