You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
640 B
21 lines
640 B
2 years ago
|
#!/bin/sh
|
||
|
#
|
||
|
# RPM filetrigger for remove donation url from hardcode.
|
||
|
# Links to donations remain in the documentation.
|
||
|
#
|
||
|
# Copyright (C) 2021 Artem Proskurnev <tema@proskurnevs.ru>
|
||
|
#
|
||
|
# This program is free software; you can redistribute it and/or modify
|
||
|
# it under the terms of the GNU General Public License as published by
|
||
|
# the Free Software Foundation; either version 2 of the License, or
|
||
|
# (at your option) any later version.
|
||
|
|
||
|
mf='/usr/lib64/libKF5XmlGui.so.5.96.0'
|
||
|
if egrep -qs $mf;
|
||
|
then
|
||
|
if [ -f $mf ];
|
||
|
then
|
||
|
sed -i /usr/lib64/libKF5XmlGui.so.5.96.0 -e 's,https://www.kde.org/donate?app=,https://os.mos.ru/r/blago?appl=,g'
|
||
|
fi
|
||
|
fi
|