We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa13a68 commit b73ea5cCopy full SHA for b73ea5c
1 file changed
update_un-get.sh
@@ -2,7 +2,7 @@
2
#
3
# Author: [Cpt. Chaz]
4
# Created: [03/07/25]
5
-# Updated: [04/30/25] - v1.1
+# Updated: [05/21/25] - v1.2
6
# Description: A simple Unraid script for updating the un-get packages. This script will update, upgrade, and clean un-gets packages.
7
# Place script in the Unraid User Scripts plugin and schedule according to user preference.
8
# Status: Tested
@@ -38,7 +38,7 @@ if ! un-get upgrade; then
38
echo "Upgrade failed, attempting forced recovery..."
39
un-get clean
40
un-get update
41
- un-get upgrade --force || {
+ yes | un-get upgrade --force || {
42
echo "Automatic recovery with --force failed. Please check manually."
43
exit 1
44
}
@@ -50,4 +50,3 @@ un-get cleanup
50
51
# Notify success
52
echo "All un-get packages have been updated successfully!"
53
-
0 commit comments