parent
4ab1f3b41b
commit
effc8723fc
@ -0,0 +1,20 @@ |
|||||||
|
#!/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 |
Loading…
Reference in new issue