mirror of
https://github.com/PapirusDevelopmentTeam/papirus-icon-theme.git
synced 2024-10-18 17:20:47 -04:00
030098ef7b
- _fix_color_scheme.sh: add Papirus-Light support - prepare.sh: allow spaces in paths - ffsvg.sh, build_color_folders.sh, clean.sh: quoting subshell output
20 lines
361 B
Bash
Executable file
20 lines
361 B
Bash
Executable file
#!/usr/bin/env bash
|
|
#
|
|
# This script deletes *.svg files from the directory
|
|
|
|
set -eo pipefail
|
|
|
|
SCRIPT_DIR="$(dirname "$0")"
|
|
|
|
find "$SCRIPT_DIR" -mindepth 2 -name '*.svg' -print
|
|
|
|
echo -n "Do you want to delete these files? [y/N]: "; read -r REPLY
|
|
|
|
case "$REPLY" in
|
|
[Yy]*)
|
|
find "$SCRIPT_DIR" -mindepth 2 -name '*.svg' -delete
|
|
;;
|
|
*)
|
|
echo "Abort."
|
|
;;
|
|
esac
|