/usr/bin/rarian-sk-rebuild is in rarian-compat 0.8.1-5ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | #!/bin/bash
# Another simple wrapper script. This time for scrollkeeper-rebuilddb
# This one is slightly more complex in that we have to run a command!
# We also need to pull out the paths from the relevant place first.
prefix=/usr
exec_prefix=/usr
bindir=/usr/bin
convert_dir=/usr/share/omf
datarootdir=/usr/share
statedir=/var/lib/rarian
datadir=/usr/share
output_dir=${datadir}/help
package_version=0.8.1
convert_string="REPLACEME"
if [ ! 1 ]
then
if [ -e $statedir/rarian-update-mtimes ]
then
for x in $(grep -e '^0:@:' $statedir/rarian-update-mtimes)
do
if [[ $convert_string != "REPLACEME" ]]
then
convert_string=$convert_string:${x##0:@:}
else
convert_string=${x##0:@:}
fi
done
else
convert_string=$convert_dir
fi
$bindir/rarian-sk-update -v --clean-index -o $convert_string
fi
|