This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch main
in repository equivoke.
View the commit online.
commit 501cc92016b77450b68b65cd899d5c46ef07133f
Author: Philippe Jean Guillaumie <bat...@sfr.fr>
AuthorDate: Sun Jun 8 03:04:36 2025 -0700
Improve the removal of the translation files
---
evakuate.sh | 37 +++++++++++++------------------------
1 file changed, 13 insertions(+), 24 deletions(-)
diff --git a/evakuate.sh b/evakuate.sh
index 7fc968b..e1196e9 100644
--- a/evakuate.sh
+++ b/evakuate.sh
@@ -15,25 +15,6 @@
# donating with PayPal (see README.md) to show your support.
# Thank you!
-# Enlightenment programs to be removed.
-rm_prog=(
- terminology
- enlightenment
- ephoto
- rage
- evisum
- express
- ecrire
- enventor
- edi
- entice
- enlightenment-module-forecasts
- enlightenment-module-penguins
- enlightenment-module-places
- eflete
- efl
-)
-
# Clean up any leftover files after uninstalling Enlightenment and its related applications.
del_list() {
cd /etc
@@ -223,6 +204,14 @@ final_stp() {
sudo systemctl daemon-reload
sudo ldconfig
+ # Also remove the translation files.
+ if [ -d /usr/local/share/locale ]; then
+ find /usr/local/share/locale -name "LC_MESSAGES" -type d 2>/dev/null | while read -r i; do
+ find "$i" -name "*.mo" | grep -E 'efl|enlightenment|ephoto|evisum|terminology|ecrire|edi|enventor|eflete|forecasts|e-module-penguins|e-module-places' | while read -r mo_file; do
+ sudo rm -f "$mo_file"
+ done
+ done
+ fi
# Also remove the translation files.
find /usr/local/share/locale/*/LC_MESSAGES | while read -r i; do
echo "$i" |
@@ -253,12 +242,12 @@ uninstall_enlighten() {
printf "$red_bright%s $off%s\n\n" "You will be prompted to answer some basic questions..."
sleep 2
- cd "$HOME"
-
- for i in "${rm_prog[@]}"; do
- cd "$esrcdir/enlighten/$i"
+cd "$HOME"
+ for ((i = ${#prog_mbs[@]} - 1; i >= 0; i--)); do
+ printf "$red_bright%s %s$off\n" "Uninstalling" "${prog_mbs[i]}..."
+ cd "$esrcdir/enlighten/${prog_mbs[i]}"
sudo ninja -C build uninstall
- echo
+ printf "\n"
done
del_list
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.