Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96610099
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, Dec 28, 21:19
Size
480 B
Mime Type
text/x-shellscript
Expires
Mon, Dec 30, 21:19 (1 d, 8 h)
Engine
blob
Format
Raw Data
Handle
23215377
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