-
-
Notifications
You must be signed in to change notification settings - Fork 502
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
486 additions
and
265 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,26 @@ | |
# DietPi-Update pre-patches that need to run before new scripts are downloaded and/or before APT upgrades | ||
# Created by MichaIng / [email protected] / https://dietpi.com/ | ||
# License: GPLv2 / https://github.com/MichaIng/DietPi#license | ||
|
||
# Load DietPi-Globals | ||
. /boot/dietpi/func/dietpi-globals | ||
readonly G_PROGRAM_NAME='DietPi-Pre-patches' | ||
G_CHECK_ROOT_USER | ||
G_CHECK_ROOTFS_RW | ||
G_INIT | ||
|
||
# IMPORTANT: This script can be called with DietPi v6.17, hence assure compatibility! | ||
# - Pre-v6.29: Create G_EXEC as G_RUN_CMD wrapper | ||
declare -F G_EXEC > /dev/null || G_EXEC(){ G_RUN_CMD "$@"; } | ||
|
||
# Update Jellyfin APT repo key: https://dietpi.com/phpbb/viewtopic.php?t=8703 | ||
if [[ -f '/etc/apt/trusted.gpg.d/dietpi-jellyfin.gpg' && $(date -u '+%Y%m%d' -r '/etc/apt/trusted.gpg.d/dietpi-jellyfin.gpg') -lt 20201216 ]] | ||
then | ||
G_DIETPI-NOTIFY 2 'Updating Jellyfin APT repo key: https://dietpi.com/phpbb/viewtopic.php?t=8703' | ||
G_EXEC curl -sSfLO 'https://repo.jellyfin.org/jellyfin_team.gpg.key' | ||
G_EXEC gpg --dearmor -o /etc/apt/trusted.gpg.d/dietpi-jellyfin.gpg --yes jellyfin_team.gpg.key | ||
G_EXEC rm jellyfin_team.gpg.key | ||
fi | ||
|
||
exit 0 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,13 +9,15 @@ Are you able to: | |
- Provide feedback and/or test areas of DietPi, to improve the user experience? | ||
- Report bugs? | ||
- Improve/add more features to the DietPi [website](https://github.com/MichaIng/DietPi-Website) or [documentation](https://github.com/MichaIng/DietPi-Docs)? | ||
- Compile software for our supported SBCs? | ||
- Compile software for our [supported platforms](https://dietpi.com/docs/hardware/)? | ||
- Contribute to DietPi with programming on GitHub? | ||
- Suggest new software that we can add to the `dietpi-software` install system? | ||
|
||
If so, let us know! | ||
If so, let us know! | ||
We are always looking for talented people who believe in the DietPi project, and, wish to contribute in any way you can. | ||
|
||
- Send me an Email: [email protected] | ||
- Join our forums: https://dietpi.com/phpbb/ | ||
- GitHub: https://github.com/MichaIng/DietPi | ||
- Send us an email: <[email protected]> | ||
- Join our forum: <https://dietpi.com/phpbb/> | ||
- GitHub: <https://github.com/MichaIng/DietPi> | ||
|
||
Read more: <https://dietpi.com/contribute.html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,17 @@ | ||
<html> | ||
<h1 align="center"> | ||
<img src="https://raw.githubusercontent.com/MichaIng/DietPi-Website/master/images/dietpi-logo_180x180.png" alt="DietPi Logo"> | ||
</h1> | ||
<p align="center"> | ||
<b>Lightweight justice for your single-board computer!</b> | ||
<br><br> | ||
optimised • simplified • for everyone | ||
<br><br> | ||
<a href="https://dietpi.com/">Website</a> • <a href="https://dietpi.com/docs/">Documentation</a> • <a href="https://dietpi.com/#download">View all supported platforms</a> | ||
</p> | ||
<hr> | ||
<p align="center"> | ||
<strong>Ready to run</strong> optimised software choices with <a href="https://dietpi.com/dietpi-software.html"><strong>dietpi-software</strong></a> | ||
<br>Feature-rich configuration tool for your device with <strong>dietpi-config</strong>. | ||
</p> | ||
<hr> | ||
</html> | ||
<h1 align="center"><img src="https://raw.githubusercontent.com/MichaIng/DietPi-Website/master/images/dietpi-logo_180x180.png" alt="DietPi Logo"></h1> | ||
<p align="center"> | ||
<b>Lightweight justice for your single-board computer!</b> | ||
<br><br> | ||
optimised • simplified • for everyone | ||
<br><br> | ||
<a href="https://dietpi.com/">Website</a> • <a href="https://dietpi.com/docs/">Documentation</a> • <a href="https://dietpi.com/#download">View all supported platforms</a> • <a href="https://dietpi.com/phpbb/">Forum</a> | ||
</p> | ||
<hr> | ||
<p align="center"> | ||
<strong>Ready to run</strong> optimised software choices with <a href="https://dietpi.com/dietpi-software.html"><strong>dietpi-software</strong></a> | ||
<br>Feature-rich configuration tool for your device with <strong>dietpi-config</strong>. | ||
</p> | ||
<hr> | ||
|
||
## Introduction | ||
|
||
|
@@ -151,7 +147,7 @@ If so, let us know! | |
We are always looking for talented people who believe in the DietPi project, and, wish to contribute in any way you can. | ||
|
||
- Send me an Email: [email protected] | ||
- Join our forums: https://dietpi.com/phpbb/ | ||
- Join our forum: https://dietpi.com/phpbb/ | ||
- GitHub: https://github.com/MichaIng/DietPi | ||
|
||
### FeatHub | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.