added a help in the missing.sh and modified some things
This commit is contained in:
parent
63433af137
commit
04e1664609
@ -11,7 +11,7 @@ desktopsearch () {
|
||||
iconsearch () {
|
||||
local icon_pack=$1
|
||||
if [ -z $icon_pack ]; then
|
||||
echo "iconsearch requires a icon pack." 1>&2
|
||||
echo "IconToaster requires an icon pack as an argument." 1>&2
|
||||
exit 1;
|
||||
fi
|
||||
for icon in $(find ~/.icons/$icon_pack -name '*.png');
|
||||
@ -26,7 +26,7 @@ iconsearch () {
|
||||
compare_desktop_and_icons() {
|
||||
local icon_pack=$1
|
||||
if [ -z $icon_pack ]; then
|
||||
echo "iconsearch requires a icon pack." 1>&2
|
||||
echo "IconToaster requires an icon pack as an argument." 1>&2
|
||||
exit 1;
|
||||
fi
|
||||
perl <(cat <<'EOF'
|
||||
|
@ -3,6 +3,11 @@
|
||||
# This file is part of IconToaster
|
||||
# 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
|
||||
@ -10,7 +15,7 @@ icon_pack=$1
|
||||
. "$script_path/functions.sh"
|
||||
|
||||
if [ -z $icon_pack ]; then
|
||||
echo "$script_name requires a icon pack." 1>&2
|
||||
echo "$script_name requires an icon pack as an argument." 1>&2
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user