Kanjut SHELL
Server IP : 172.16.15.8  /  Your IP : 13.58.40.171
Web Server : Apache
System : Linux zeus.vwu.edu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Wed Nov 6 14:29:02 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 7.2.24
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0555) :  /bin/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //bin/rarian-sk-rebuild
#!/usr/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

Stv3n404 - 2023