Compare commits
2 Commits
96ced8ff18
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 8a26bd37d2 | |||
| 73f5fe2e45 |
@@ -68,7 +68,7 @@ doUpdateSystem() {
|
||||
|
||||
|
||||
updateFlatpak() {
|
||||
if [[ ! $(commandExists flatpak) ]]; then
|
||||
if ! $(commandExists flatpak); then
|
||||
return 1;
|
||||
fi
|
||||
noconfirm=
|
||||
@@ -127,7 +127,7 @@ finds () {
|
||||
|
||||
# sends a desktop-notification with an icon signalling an error
|
||||
notifyError () {
|
||||
if [[ ! $(commandExists notify-send) ]]; then
|
||||
if ! $(commandExists notify-send); then
|
||||
echo "ERROR: $1";
|
||||
else
|
||||
notify-send "$1" --icon=data-warning;
|
||||
@@ -137,7 +137,7 @@ notifyError () {
|
||||
|
||||
# sends a desktop-notification with an icon signalling a simple information
|
||||
notifyInfo () {
|
||||
if [[ ! $(commandExists notify-send) ]]; then
|
||||
if ! $(commandExists notify-send); then
|
||||
echo "INFO: $1";
|
||||
else
|
||||
notify-send "$1" --icon=preferences-desktop-notification;
|
||||
|
||||
@@ -2,7 +2,11 @@
|
||||
set -euo pipefail
|
||||
|
||||
/sync/scripts/escapeFilenames.sh . _
|
||||
declare -a dirs=();
|
||||
for d in *; do
|
||||
dirs+=($d);
|
||||
done
|
||||
for d in "${dirs[@]}"; do
|
||||
cd "$d";
|
||||
/sync/scripts/escapeFilenames.sh Chapter Kapitel
|
||||
/sync/scripts/reencode_m4a.sh -map;
|
||||
|
||||
Reference in New Issue
Block a user