First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 158807
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: José Alberto Suárez López <bass@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: David Tardon <dtardon@redhat.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 158807 depends on: Show dependency tree
Bug 158807 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-12-22 00:45 0000
When cleaning man pages, app-admin/localepurge deletes only regular files. This
may result in dangling symlinks (f.e. media-video/mplayer installs mencoder.1
as symlink to mplayer.1). This trivial patch solves it.

--- localepurge        2006-10-09 16:44:10.000000000 +0200
+++ localepurge     2006-12-17 17:56:02.000000000 +0100
@@ -198,7 +198,7 @@
                 if [ "${PRETEND}" = "enabled" ]; then 
                     echo "${MANPAGEDIR}/${LOCALE}"
                 else
-                    /bin/rm -f `find ${MANPAGEDIR}/${LOCALE} -type f`
+                    /bin/rm -f `find ${MANPAGEDIR}/${LOCALE} -type f -o -type
l`
                 fi
             fi
           fi
@@ -211,7 +211,7 @@
                 if [ "${PRETEND}" = "enabled" ]; then 
                     echo "${MANPAGEDIR}/${LOCALE}"
                 else
-                    /bin/rm -f `find ${MANPAGEDIR}/${LOCALE} -type f`
+                    /bin/rm -f `find ${MANPAGEDIR}/${LOCALE} -type f -o -type
l`
                 fi
             fi
           fi

------- Comment #1 From Jakub Moc (RETIRED) 2006-12-23 11:09:02 0000 -------
*** Bug 158936 has been marked as a duplicate of this bug. ***

------- Comment #2 From José Alberto Suárez López 2007-01-21 19:53:13 0000 -------
Thanks,

now in 5.3.3

The correct patch is -o -type l

regards

First Last Prev Next    No search results available      Search page      Enter new bug