update
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| update [2024/09/01 11:30] – steve | update [2026/02/20 19:46] (current) – steve | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| <code bash Update> | <code bash Update> | ||
| #!/bin/bash | #!/bin/bash | ||
| - | # | + | # / |
| - | # This allows updating software by a single common command on all my machines | + | # This allows updating software by a single common command on all my machines. |
| Logs=~/ | Logs=~/ | ||
| Line 13: | Line 13: | ||
| ### SRJ 2015-03-27 | ### SRJ 2015-03-27 | ||
| ### machine without further credentials, | ### machine without further credentials, | ||
| - | ### created in / | + | ### created in / |
| - | ### ### | + | ### See; https://wiki.cyli.org/doku.php?id=auto_update_without_password |
| - | ### ## Installation and management of software | + | |
| - | ### Cmnd_Alias SOFTWARE_UPDATE = /bin/rpm, / | + | |
| - | ### / | + | |
| - | ### / | + | |
| - | ### %wheel ALL = NOPASSWD: SOFTWARE_UPDATE | + | |
| - | ### ### | + | |
| - | ### # | + | |
| - | ### ### | + | |
| - | ### Cmnd_Alias SOFTWARE_UPDATE = /usr/local/bin/apt, / | + | |
| - | ### %sudo ALL = NOPASSWD: SOFTWARE_UPDATE | + | |
| - | ### ### | + | |
| - | ### This allows all users in the ' | + | |
| ############################################################################# | ############################################################################# | ||
| Line 36: | Line 24: | ||
| ;; | ;; | ||
| - | "Linux Mint 21" | + | "Linux Mint 21.3" |
| System=" | System=" | ||
| ;; | ;; | ||
| - | " | + | " |
| System=" | System=" | ||
| ;; | ;; | ||
| - | " | + | " |
| System=" | System=" | ||
| ;; | ;; | ||
| Line 51: | Line 39: | ||
| System=" | System=" | ||
| echo "This system is unknown, please update this script and add a check" | echo "This system is unknown, please update this script and add a check" | ||
| - | echo "for the pattern; | + | echo "for the pattern;" |
| echo " | echo " | ||
| echo "Then update https:// | echo "Then update https:// | ||
| Line 93: | Line 81: | ||
| fi | fi | ||
| </ | </ | ||
| + | \\ | ||
| + | The / | ||
update.1725190222.txt.gz · Last modified: by steve
