Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93638680
liboncilla-dev.preinst
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Nov 30, 08:42
Size
480 B
Mime Type
text/x-shellscript
Expires
Mon, Dec 2, 08:42 (2 d)
Engine
blob
Format
Raw Data
Handle
22679500
Attached To
R6622 liboncilla
liboncilla-dev.preinst
View Options
#!/bin/sh
set -e
pkg=liboncilla-dev
diversion_added_version=0.3.0~rc7-3
this_version=0.3.0~rc7-3
diversions="/usr/lib/librsc.so /usr/lib/librci.so /usr/lib/pkgconfig/rsc0.9.pc"
if
test "$1" = install \
|| dpkg --compare-versions "$2" lt "$diversion_added_version" \
|| dpkg --compare-versions "$this_version" lt "$2"
then
for d in $diversions
do
dpkg-divert --package "$pkg" --add --rename \
--divert "$d.diverted-$pkg" $d
done
fi
#DEBHELPER#
exit 0
Event Timeline
Log In to Comment