/usr/share/kde4/apps/kconf_update/klickety-2.0-inherit-ksame-highscore.pl is in klickety 4:4.12.4-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 11 12 13 14 | #!/usr/bin/perl -w
use strict;
# this script updates klickety ksame mode highscores according to the
# original ksame game.
# read the whole config file
while ( <> ) {
chomp; # eat the trailing '\n'
next if ( /^$/ ); # skip empty lines
next if ( /^\#/ ); # skip comments
next if ( /\d+_Board/ ); # skip board numbers
print "[KHighscore_KSame]\n" if ( /^\[KHighscore\]$/ ); # [KHighscore] -> [KHighscore_KSame]
print "$_\n" if ( /^\d+_(LastPlayer|Score|Name)=.*$/ ); # print the highscores
}
|