From c0759a2870650f5ebe8cc8d478ce20c8b87e4f64 Mon Sep 17 00:00:00 2001 From: Ryan Burke Date: Thu, 13 Nov 2014 12:11:20 +0000 Subject: [PATCH] Uninstall now deletes config files and removes dependencies. --- .../CyDelete/CyDelete.bundle/da.lproj/Localizable.strings | 2 +- .../CyDelete/CyDelete.bundle/de.lproj/Localizable.strings | 2 +- .../CyDelete/CyDelete.bundle/en.lproj/Localizable.strings | 2 +- .../CyDelete/CyDelete.bundle/es.lproj/Localizable.strings | 2 +- .../CyDelete/CyDelete.bundle/fr.lproj/Localizable.strings | 2 +- .../CyDelete/CyDelete.bundle/he.lproj/Localizable.strings | 2 +- .../CyDelete/CyDelete.bundle/hu.lproj/Localizable.strings | 2 +- .../CyDelete/CyDelete.bundle/it.lproj/Localizable.strings | 2 +- .../CyDelete/CyDelete.bundle/nl.lproj/Localizable.strings | 2 +- .../CyDelete/CyDelete.bundle/ru.lproj/Localizable.strings | 2 +- .../CyDelete/CyDelete.bundle/tr.lproj/Localizable.strings | 2 +- .../CyDelete/CyDelete.bundle/zh_CN.lproj/Localizable.strings | 2 +- .../CyDelete/CyDelete.bundle/zh_TW.lproj/Localizable.strings | 2 +- layout/usr/libexec/cydelete/uninstall_dpkg.sh | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/layout/Library/Application Support/CyDelete/CyDelete.bundle/da.lproj/Localizable.strings b/layout/Library/Application Support/CyDelete/CyDelete.bundle/da.lproj/Localizable.strings index 542e9d8..b14a5dd 100755 --- a/layout/Library/Application Support/CyDelete/CyDelete.bundle/da.lproj/Localizable.strings +++ b/layout/Library/Application Support/CyDelete/CyDelete.bundle/da.lproj/Localizable.strings @@ -7,7 +7,7 @@ PACKAGE_DELETE_BODY Sletning af “%@” vil afinstaller “%@” PACKAGE_FINISH_BODY - For at fuldføre afinstallationen af “%@” skal du %@. + For at fuldføre afinstallationen af “%@” skal du %@ og alle dens afhængigheder. PACKAGE_FINISH_OKAY OK PACKAGE_FINISH_REBOOT diff --git a/layout/Library/Application Support/CyDelete/CyDelete.bundle/de.lproj/Localizable.strings b/layout/Library/Application Support/CyDelete/CyDelete.bundle/de.lproj/Localizable.strings index ace4d72..ffaabee 100755 --- a/layout/Library/Application Support/CyDelete/CyDelete.bundle/de.lproj/Localizable.strings +++ b/layout/Library/Application Support/CyDelete/CyDelete.bundle/de.lproj/Localizable.strings @@ -7,7 +7,7 @@ PACKAGE_DELETE_BODY Durch das löschen von „%@“ wird das Paket „%@“ deinstalliert. PACKAGE_FINISH_BODY - Um „%@“ zu deinstallieren müssen sie das %@. + Um „%@“ zu deinstallieren müssen sie das %@ und alle seine Abhängigkeiten. PACKAGE_FINISH_OKAY OK PACKAGE_FINISH_REBOOT diff --git a/layout/Library/Application Support/CyDelete/CyDelete.bundle/en.lproj/Localizable.strings b/layout/Library/Application Support/CyDelete/CyDelete.bundle/en.lproj/Localizable.strings index 38d8b48..a33ebc3 100755 --- a/layout/Library/Application Support/CyDelete/CyDelete.bundle/en.lproj/Localizable.strings +++ b/layout/Library/Application Support/CyDelete/CyDelete.bundle/en.lproj/Localizable.strings @@ -5,7 +5,7 @@ NOT_ENOUGH_MEMORY Not Enough Memory PACKAGE_DELETE_BODY - Deleting “%@” will uninstall “%@”. + Deleting “%@” will uninstall “%@” and all its dependencies. PACKAGE_FINISH_BODY To complete the uninstall of “%@”, you must %@. PACKAGE_FINISH_OKAY diff --git a/layout/Library/Application Support/CyDelete/CyDelete.bundle/es.lproj/Localizable.strings b/layout/Library/Application Support/CyDelete/CyDelete.bundle/es.lproj/Localizable.strings index a13eb24..d92c86b 100755 --- a/layout/Library/Application Support/CyDelete/CyDelete.bundle/es.lproj/Localizable.strings +++ b/layout/Library/Application Support/CyDelete/CyDelete.bundle/es.lproj/Localizable.strings @@ -7,7 +7,7 @@ PACKAGE_DELETE_BODY Al eliminar “%@” también desinstalará “%@”. PACKAGE_FINISH_BODY - Para completar la desinstalación de “%@”, deberá %@. + Para completar la desinstalación de “%@”, deberá %@ y todas sus dependencias. PACKAGE_FINISH_OKAY OK PACKAGE_FINISH_REBOOT diff --git a/layout/Library/Application Support/CyDelete/CyDelete.bundle/fr.lproj/Localizable.strings b/layout/Library/Application Support/CyDelete/CyDelete.bundle/fr.lproj/Localizable.strings index 70b1707..78324f3 100755 --- a/layout/Library/Application Support/CyDelete/CyDelete.bundle/fr.lproj/Localizable.strings +++ b/layout/Library/Application Support/CyDelete/CyDelete.bundle/fr.lproj/Localizable.strings @@ -7,7 +7,7 @@ PACKAGE_DELETE_BODY Supprimer “%@” le supprimera définitivement. PACKAGE_FINISH_BODY - Pour finir la désinstallation de l'application “%@”, veuillez %@. + Pour finir la désinstallation de l'application “%@”, veuillez %@ et toutes ses dépendances. PACKAGE_FINISH_OKAY Fini PACKAGE_FINISH_REBOOT diff --git a/layout/Library/Application Support/CyDelete/CyDelete.bundle/he.lproj/Localizable.strings b/layout/Library/Application Support/CyDelete/CyDelete.bundle/he.lproj/Localizable.strings index 8fa88b6..49d74a5 100755 --- a/layout/Library/Application Support/CyDelete/CyDelete.bundle/he.lproj/Localizable.strings +++ b/layout/Library/Application Support/CyDelete/CyDelete.bundle/he.lproj/Localizable.strings @@ -7,7 +7,7 @@ PACKAGE_DELETE_BODY מחיקת “%@” יסיר את “%@”. PACKAGE_FINISH_BODY - על מנת להשלים את ההסרה של “%@”, חובה %@. + על מנת להשלים את ההסרה של “%@”, חובה %@ וכל התלות שלה. PACKAGE_FINISH_OKAY אישור PACKAGE_FINISH_REBOOT diff --git a/layout/Library/Application Support/CyDelete/CyDelete.bundle/hu.lproj/Localizable.strings b/layout/Library/Application Support/CyDelete/CyDelete.bundle/hu.lproj/Localizable.strings index 466d013..2ef863c 100755 --- a/layout/Library/Application Support/CyDelete/CyDelete.bundle/hu.lproj/Localizable.strings +++ b/layout/Library/Application Support/CyDelete/CyDelete.bundle/hu.lproj/Localizable.strings @@ -7,7 +7,7 @@ PACKAGE_DELETE_BODY “%@” törlése a “%@” eltávolításával jár. PACKAGE_FINISH_BODY - “%@” eltávolításának bejezéséhez, %@. + “%@” eltávolításának bejezéséhez, %@ és minden függőséget. PACKAGE_FINISH_OKAY OK PACKAGE_FINISH_REBOOT diff --git a/layout/Library/Application Support/CyDelete/CyDelete.bundle/it.lproj/Localizable.strings b/layout/Library/Application Support/CyDelete/CyDelete.bundle/it.lproj/Localizable.strings index 63a82b3..bf9e0b8 100755 --- a/layout/Library/Application Support/CyDelete/CyDelete.bundle/it.lproj/Localizable.strings +++ b/layout/Library/Application Support/CyDelete/CyDelete.bundle/it.lproj/Localizable.strings @@ -7,7 +7,7 @@ PACKAGE_DELETE_BODY Eliminando “%@” disinstallerai “%@”. PACKAGE_FINISH_BODY - Per completare la disinstallazione di “%@”, devi %@. + Per completare la disinstallazione di “%@”, devi %@ e tutte le sue dipendenze. PACKAGE_FINISH_OKAY OK PACKAGE_FINISH_REBOOT diff --git a/layout/Library/Application Support/CyDelete/CyDelete.bundle/nl.lproj/Localizable.strings b/layout/Library/Application Support/CyDelete/CyDelete.bundle/nl.lproj/Localizable.strings index 3d6dd11..fad2707 100755 --- a/layout/Library/Application Support/CyDelete/CyDelete.bundle/nl.lproj/Localizable.strings +++ b/layout/Library/Application Support/CyDelete/CyDelete.bundle/nl.lproj/Localizable.strings @@ -7,7 +7,7 @@ PACKAGE_DELETE_BODY Het verwijderen van “%@” zal “%@” deïnstalleren. PACKAGE_FINISH_BODY - Om de deïnstallatie van “%@” af te ronden, moet je %@. + Om de deïnstallatie van “%@” af te ronden, moet je %@ en al zijn afhankelijkheden. PACKAGE_FINISH_OKAY OK PACKAGE_FINISH_REBOOT diff --git a/layout/Library/Application Support/CyDelete/CyDelete.bundle/ru.lproj/Localizable.strings b/layout/Library/Application Support/CyDelete/CyDelete.bundle/ru.lproj/Localizable.strings index 717c7db..e77b3a7 100755 --- a/layout/Library/Application Support/CyDelete/CyDelete.bundle/ru.lproj/Localizable.strings +++ b/layout/Library/Application Support/CyDelete/CyDelete.bundle/ru.lproj/Localizable.strings @@ -7,7 +7,7 @@ PACKAGE_DELETE_BODY Удаление “%@” удалит также “%@”. PACKAGE_FINISH_BODY - Для завершения удаления “%@”, потребуется %@. + Для завершения удаления “%@”, потребуется %@ и все его зависимости. PACKAGE_FINISH_OKAY OK PACKAGE_FINISH_REBOOT diff --git a/layout/Library/Application Support/CyDelete/CyDelete.bundle/tr.lproj/Localizable.strings b/layout/Library/Application Support/CyDelete/CyDelete.bundle/tr.lproj/Localizable.strings index 9258c56..77b0efb 100755 --- a/layout/Library/Application Support/CyDelete/CyDelete.bundle/tr.lproj/Localizable.strings +++ b/layout/Library/Application Support/CyDelete/CyDelete.bundle/tr.lproj/Localizable.strings @@ -7,7 +7,7 @@ PACKAGE_DELETE_BODY “%@” öğesini silmek şu öğeyi silecek “%@” PACKAGE_FINISH_BODY - “%@” öğesinin silinmesini tamamlamak için, ''%@'' eylemini yapmalısınız. + “%@” öğesinin silinmesini tamamlamak için, ''%@'' eylemini yapmalısınız ve tüm bağımlılıkları. PACKAGE_FINISH_OKAY Tamam PACKAGE_FINISH_REBOOT diff --git a/layout/Library/Application Support/CyDelete/CyDelete.bundle/zh_CN.lproj/Localizable.strings b/layout/Library/Application Support/CyDelete/CyDelete.bundle/zh_CN.lproj/Localizable.strings index e7ca523..6b01a01 100755 --- a/layout/Library/Application Support/CyDelete/CyDelete.bundle/zh_CN.lproj/Localizable.strings +++ b/layout/Library/Application Support/CyDelete/CyDelete.bundle/zh_CN.lproj/Localizable.strings @@ -7,7 +7,7 @@ PACKAGE_DELETE_BODY 删除“%@”将会卸载“%@”。 PACKAGE_FINISH_BODY - 为完成“%@”的卸载,您必须%@。 + 为完成“%@”的卸载,您必须%@和所有它的依赖。 PACKAGE_FINISH_OKAY 确定 PACKAGE_FINISH_REBOOT diff --git a/layout/Library/Application Support/CyDelete/CyDelete.bundle/zh_TW.lproj/Localizable.strings b/layout/Library/Application Support/CyDelete/CyDelete.bundle/zh_TW.lproj/Localizable.strings index ede6dc4..19366cc 100755 --- a/layout/Library/Application Support/CyDelete/CyDelete.bundle/zh_TW.lproj/Localizable.strings +++ b/layout/Library/Application Support/CyDelete/CyDelete.bundle/zh_TW.lproj/Localizable.strings @@ -7,7 +7,7 @@ PACKAGE_DELETE_BODY 移除“%@”將會卸載“%@”。 PACKAGE_FINISH_BODY - 為完成“%@”的卸載,您必須%@。 + 為完成“%@”的卸載,您必須%@ 和所有它的依賴。 PACKAGE_FINISH_OKAY 確認 PACKAGE_FINISH_REBOOT diff --git a/layout/usr/libexec/cydelete/uninstall_dpkg.sh b/layout/usr/libexec/cydelete/uninstall_dpkg.sh index eb337f0..43bf4f5 100755 --- a/layout/usr/libexec/cydelete/uninstall_dpkg.sh +++ b/layout/usr/libexec/cydelete/uninstall_dpkg.sh @@ -2,7 +2,7 @@ export PATH=/usr/bin:/bin:/sbin:/usr/sbin killall -9 MobileCydia sleep 3 -apt-get -y remove $1 2>/tmp/aptoutput 1>/dev/null +apt-get -y --purge autoremove $1 2>/tmp/aptoutput 1>/dev/null exitcode=$? rm -rf /tmp/aptoutput &> /dev/null exit $exitcode