IconToaster/missing.sh

23 lines
529 B
Bash
Raw Normal View History

2022-02-06 01:21:00 +01:00
#! /bin/bash
2022-02-06 20:48:29 +01:00
# This file is part of IconToaster
2022-02-06 01:21:00 +01:00
# and it's AGPLv3 licensed.
# Launch this script with an argument containing the icon pack
# for example, if you want to test aleta, you must write
# ./missing.sh aleta
# Note that for now only icon packs in ~/.icons are testable.
script_path=$(dirname $0)
script_name=$(basename $0)
icon_pack=$1
2022-02-06 01:21:00 +01:00
. "$script_path/functions.sh"
2022-02-06 01:21:00 +01:00
if [ -z $icon_pack ]; then
echo "$script_name requires an icon pack as an argument." 1>&2
exit 1;
fi
2022-02-06 01:21:00 +01:00
compare_desktop_and_icons $icon_pack;