mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-30 15:19:23 +01:00
Compare commits
2 Commits
99f74e83ac
...
443299c906
Author | SHA1 | Date | |
---|---|---|---|
443299c906 | |||
0d5d15830b |
2
.pre-commit-config.yaml
vendored
2
.pre-commit-config.yaml
vendored
@ -11,7 +11,7 @@ ci:
|
|||||||
default_language_version:
|
default_language_version:
|
||||||
node: "lts"
|
node: "lts"
|
||||||
# Remember .python-version and pyproject.toml !
|
# Remember .python-version and pyproject.toml !
|
||||||
python: "3.12"
|
python: "3.13"
|
||||||
ruby: ".ruby-version"
|
ruby: ".ruby-version"
|
||||||
|
|
||||||
repos:
|
repos:
|
||||||
|
@ -1 +1 @@
|
|||||||
3.12.4
|
3.13.0rc2
|
||||||
|
@ -44,20 +44,20 @@ if hash dnf 2> /dev/null; then
|
|||||||
# I don't know if -y does anything here either and I think this may be
|
# I don't know if -y does anything here either and I think this may be
|
||||||
# useless, but I am used to it coming from apt and I think it will just
|
# useless, but I am used to it coming from apt and I think it will just
|
||||||
# say nothing to do or do nothing if mirrors haven't updated.
|
# say nothing to do or do nothing if mirrors haven't updated.
|
||||||
dnf -v check-update -y
|
dnf check-update -y
|
||||||
|
|
||||||
# potentially unsafe first time, I am not sure if this is concern outside of Debian/Ubuntu though
|
# potentially unsafe first time, I am not sure if this is concern outside of Debian/Ubuntu though
|
||||||
dnf -v "$@" autoremove
|
dnf "$@" autoremove
|
||||||
|
|
||||||
# If arguments like -y are passed to the script, they become "$@"
|
# If arguments like -y are passed to the script, they become "$@"
|
||||||
#dnf -v "$@" upgrade
|
#dnf "$@" upgrade
|
||||||
|
|
||||||
# Doing check-update and upgrade together seems to be necessary for
|
# Doing check-update and upgrade together seems to be necessary for
|
||||||
# Chromium based browsers and their repositories :shrug:
|
# Chromium based browsers and their repositories :shrug:
|
||||||
dnf -v "$@" upgrade --refresh
|
dnf "$@" upgrade --refresh
|
||||||
|
|
||||||
# potentially unsafe, see a few lines above and the apt-get section
|
# potentially unsafe, see a few lines above and the apt-get section
|
||||||
dnf -v "$@" autoremove
|
dnf "$@" autoremove
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Arch Linux package management
|
# Arch Linux package management
|
||||||
|
Loading…
Reference in New Issue
Block a user