Пакет с иконками Кометы
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.
 
 
kometa-icons/icon-theme-kometa-classic/mk-symlinks.sh

31 lines
635 B

#!/usr/bin/env bash
set -efu
# PREFIX="../../.."
PREFIX="${PREFIX:-/usr/share/icons}"
mkdir -p apps/128x128 apps/64x64 apps/48x48 apps/32x32 apps/24x24 apps/16x16
_ln(){
if ! test -e "$1"; then
echo "$1 does not exist!"
return 1
fi
ln -sf "$1" "$2"
}
# svg
pushd apps/128x128
_ln ${PREFIX}/hicolor/scalable/apps/kometa.svg basealt.svg
_ln ${PREFIX}/hicolor/scalable/apps/kometa.svg altlinux.svg
popd
# png
for i in 64x64 48x48 32x32 24x24 16x16
do
pushd apps/${i}
_ln ${PREFIX}/hicolor/${i}/apps/kometa.png basealt.png
_ln ${PREFIX}/hicolor/${i}/apps/kometa.png altlinux.png
popd
done