/usr/lib/slimrat/plugins/generate_builds is in slimrat-nox 1.0-1.
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 | #!/bin/sh
# this tool generates plugins/BUILDS file for slimrat's update server
echo "# This file is used only if named BUILDS and placed on slimrat's update server in plugins folder.
# Every line contains plugin's filename and build number separated by whitespace(s)."
for file in *.pm
do
echo $file `grep -P "##\s*BUILD" "$file" | sed -r 's/^.+BUILD\s*//'`
done
|