FS#12844 - [db] dependency on coreutils

Attached to Project: Arch Linux
Opened by Xavier (shining) - Sunday, 18 January 2009, 11:45 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 18 January 2009, 12:48 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Is this dependency only needed for the scriptlet?
In this case, what about just fixing the scriptlet and removing this dep, which would help us getting rid of one dep cycle in core?

old scriptlet :
------------------------------------
# This is a default template for a post-install scriptlet. You can
# remove any functions you don't need (and this header).

# arg 1: the new package version
# arg 2: the old package version
pre_upgrade() {
/bin/true
}

# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
echo "ATTENTION DB PACKAGE:"
echo "Please consider to run db_upgrade on Berkeley DB databases with a major db version number update."
}

# arg 1: the old package version
pre_remove() {
/bin/true
}

# arg 1: the old package version
post_remove() {
/bin/true
}

op=$1
shift
$op $*
------------------------------------

new scriptlet :
------------------------------------
post_upgrade() {
echo "ATTENTION DB PACKAGE:"
echo "Please consider to run db_upgrade on Berkeley DB databases with a major db version number update."
}
------------------------------------
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Sunday, 18 January 2009, 12:48 GMT
Reason for closing:  Fixed

Loading...