Skip to content

Commit f036e1a

Browse files
committed
feat(oci): add podman recipe
1 parent c7f211b commit f036e1a

File tree

5 files changed

+22
-15
lines changed

5 files changed

+22
-15
lines changed

Diff for: β€Žos/linux/apt/packages-desktop.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ rofi
22
tilix
33
font-manager
44
synaptic
5-
tlp tlp-rdw
65
visualvm
76
arc-theme
87
chrome-gnome-shell
9-
gnome-tweaks
8+
gnome-tweaks

Diff for: β€Žscripts/self/recipes/_main.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
if ! ${DOT_RECIPES_SOURCED:-false}; then
2-
for file in $DOTFILES_PATH/scripts/self/recipes/{brew,docker,tlp}.sh; do
2+
for file in $DOTFILES_PATH/scripts/self/recipes/{brew,docker,podman}.sh; do
33
source "$file"
44
done
55
unset file

Diff for: β€Žscripts/self/recipes/podman.sh

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# shellcheck disable=SC2260
2+
podman::install() {
3+
if platform::is_linux; then
4+
if platform::command_exists apt-mark; then
5+
sudo apt-get remove -y podman 2>&1 | log::file "πŸ†‘ Removing old podman packages"
6+
sudo apt-get install -y software-properties-common 2>&1 | log::file "πŸ“₯ Installing podman dependencies"
7+
sudo apt-get update -y 2>&1 | log::file "πŸ”ƒ Updating system"
8+
sudo apt-get install -y podman 2>&1 | log::file "πŸ“₯ Installing podman"
9+
fi
10+
fi
11+
}
12+
13+
podman::post_install() {
14+
:
15+
}
16+
17+
podman::is_installed() {
18+
platform::command_exists podman
19+
}

Diff for: β€Žscripts/self/recipes/tlp.sh

-12
This file was deleted.

Diff for: β€Žscripts/self/utils/install.sh

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ install_ohmyzsh_themes() {
5959
_install_common_requirements() {
6060
recipes::install brew
6161
recipes::install docker
62+
recipes::install podman
6263
}
6364

6465
_install_macos_requirements() {

0 commit comments

Comments
Β (0)