Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting https://git.osmesh.ru/KOMETA/kometa-std-desktop/blame/commit/f4cc73b0a543f3c8273e6174a4596ad07c9b20c9/kometa-std-desktop-1.1/brandicons.filetrigger You should set ROOT_URL correctly, otherwise the web may not work correctly.
kometa-std-desktop/kometa-std-desktop-1.1/brandicons.filetrigger

28 lines
740 B

#!/bin/sh
#
# RPM filetrigger for branding icons.
#
# 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.
for i in $(egrep "(basealt.png|basealt.svg|altlinux.png|altlinux.svg)")
do
f=$(basename $i)
d=$(dirname $i)
suff=$(echo $f | egrep -o "(png|svg)")
f=$(echo $f | egrep -o "(altlinux|basealt)")
3 years ago
kpng=$d/kometa.png
ksvg=$d/kometa.svg
if [ -e $kpng ]
then
3 years ago
cp -f $kpng $d/$f.png
fi
if [ -e $ksvg ]
then
3 years ago
cp -f $ksvg $d/$f.svg
fi
done