Skip to content
This repository was archived by the owner on Jun 2, 2024. It is now read-only.

Commit f793c5c

Browse files
author
Robert Thomas
committed
Minor hotfix
- Simplified very problematic sed command
1 parent 4436b98 commit f793c5c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
2-
printf "\\n\\e[93m=== Plexus v0.7.3c - Developed by Robert Thomas ==="
2+
printf "\\n\\e[93m=== Plexus v0.7.3d - Developed by Robert Thomas ==="
33
printf "\\n=== https://github.com/Wolveix/plexus ==="
44
printf "\\n\\e[32mInstalling missing dependencies.\\n\\n\\e[94m"
55
apt-get install curl ffmpeg unzip -y

docs/versions/releases/latest/plexus

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
2-
HEADER_TEXT="\\e[93m=== Plexus v0.7.3c - Developed by Robert Thomas ===\\n"
2+
HEADER_TEXT="\\e[93m=== Plexus v0.7.3d - Developed by Robert Thomas ===\\n"
33
HEADER_SUBTEXT="\\e[93m=== https://github.com/Wolveix/Plexus ===\\n"
44
set -e
55
if [ -f "$HOME"/.config/plexus/plexus.conf ]
@@ -342,7 +342,7 @@ function func_encode {
342342
fi
343343
printf "\\nDeleting original file and delisting it.\\n"
344344
/bin/rm "$convert_dir/$FILE"
345-
/bin/sed -i "/$line/d" "$list_file"
345+
/bin/sed -i 1d "$list_file"
346346
printf "\\nOperation successfully completed."
347347
done < "$list_file"
348348
}

plexus

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
2-
HEADER_TEXT="\\e[93m=== Plexus v0.7.3c - Developed by Robert Thomas ===\\n"
2+
HEADER_TEXT="\\e[93m=== Plexus v0.7.3d - Developed by Robert Thomas ===\\n"
33
HEADER_SUBTEXT="\\e[93m=== https://github.com/Wolveix/Plexus ===\\n"
44
set -e
55
if [ -f "$HOME"/.config/plexus/plexus.conf ]
@@ -342,7 +342,7 @@ function func_encode {
342342
fi
343343
printf "\\nDeleting original file and delisting it.\\n"
344344
/bin/rm "$convert_dir/$FILE"
345-
/bin/sed -i "/$line/d" "$list_file"
345+
/bin/sed -i 1d "$list_file"
346346
printf "\\nOperation successfully completed."
347347
done < "$list_file"
348348
}

0 commit comments

Comments
 (0)