diff options
| author | iceyrazor <iceyrazor@mailfence.com> | 2025-05-24 05:14:31 -0500 |
|---|---|---|
| committer | iceyrazor <iceyrazor@mailfence.com> | 2025-05-24 05:14:31 -0500 |
| commit | bc93cfe3c36b9aac919b4cf919cda0f563c49cb6 (patch) | |
| tree | c669a572f0ac16395eb7202e857946df9c734055 | |
| parent | e966d5328d6f328546db213278d1a1a6cd2f58d5 (diff) | |
deploy script
| -rw-r--r-- | .gitignore | 1 | ||||
| m--------- | env_private | 0 | ||||
| -rwxr-xr-x | run.sh | 5 | ||||
| -rwxr-xr-x | runs/deploy-env.sh | 7 | ||||
| -rwxr-xr-x | runs/get-reqs-B-current-arch.sh | 2 |
5 files changed, 14 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bc9e74d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.env_private diff --git a/env_private b/env_private new file mode 160000 +Subproject cfc8c7d0b77a0aeb71286b62bf780e64dd399c1 @@ -1,4 +1,9 @@ #!/bin/bash +[ "$ENV_DIR" == "" ] && export ENV_DIR=$HOME +[ ! -d "$ENV_DIR" ] && echo ENV_DIR DOES NOT EXIST && exit 1 + +echo ENV_DIR "$ENV_DIR" + script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" runs_dir="$(find $script_dir/runs -mindepth 1 -maxdepth 1 -type f -executable)" diff --git a/runs/deploy-env.sh b/runs/deploy-env.sh index e69de29..a111027 100755 --- a/runs/deploy-env.sh +++ b/runs/deploy-env.sh @@ -0,0 +1,7 @@ +#!/bin/bash +script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" + +echo DEPLOYING FILES +cp -r $script_dir/../env/.* "$ENV_DIR" +[ -d "$script_dir/../env_private/" ] && cp -r $script_dir/../env_private/.* "$ENV_DIR" +echo ----------------- diff --git a/runs/get-reqs-B-current-arch.sh b/runs/get-reqs-B-current-arch.sh index 3c38461..b621c99 100755 --- a/runs/get-reqs-B-current-arch.sh +++ b/runs/get-reqs-B-current-arch.sh @@ -7,7 +7,7 @@ sudo="sudo" echo GETTING CURRENT REQS ARCH -$sudo pacman -S xorg-server libxft libxinerama pipewire-pulse pipewire-alsa pipewire-jack qpwgraph wezterm ttf-inconsolata sddm wayland hyprland waybar xdg-desktop-portal xdg-desktop-portal-hyprland xdg-desktop-portal-gtk zsh vlc v4l2loopback-dkms qt6-wayland qt5-wayland ntfs-3g gnome-keyring inetutils doas cowsay fastfetch yt-dlp ttf-jetbrains-mono ttf-jetbrains-mono-nerd noto-fonts-emoji font-manager atuin gvfs-mtp bat lxappearance cmus grim btop htop rxvt-unicode lf inetutils openrgb reflector steam +$sudo pacman -S xorg-server libxft libxinerama pipewire-pulse pipewire-alsa pipewire-jack qpwgraph wezterm ttf-inconsolata sddm wayland hyprland waybar xdg-desktop-portal xdg-desktop-portal-hyprland xdg-desktop-portal-gtk zsh vlc v4l2loopback-dkms qt6-wayland qt5-wayland ntfs-3g gnome-keyring inetutils doas cowsay fastfetch yt-dlp ttf-jetbrains-mono ttf-jetbrains-mono-nerd noto-fonts-emoji font-manager atuin gvfs-mtp bat lxappearance cmus grim btop htop rxvt-unicode lf inetutils openrgb reflector steam rofi-wayland # for vr $sudo pacman -S cli11 eigen glib2 glib2-devel nlohmann-json patch |
