mirror of
https://github.com/ublue-os/forge.git
synced 2025-07-05 01:05:44 +03:00
feat: add graphical user interface (#34)
This commit is contained in:
parent
c3ed45a21b
commit
4f2130bcce
43 changed files with 2939 additions and 971 deletions
13
.devcontainer/prepare_mount.sh
Executable file
13
.devcontainer/prepare_mount.sh
Executable file
|
@ -0,0 +1,13 @@
|
|||
# bin/bash
|
||||
|
||||
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
|
||||
FORGE_POD_DATA_DIR="$(podman volume inspect ublue-os_forge-data | jq -r '.[0].Mountpoint')"
|
||||
MOUNTPOINT_SYMLINK="$SCRIPT_DIR/mountpoint"
|
||||
|
||||
echo "Preparing mount"
|
||||
if [ -L $MOUNTPOINT_SYMLINK ]; then
|
||||
echo "Existing symlink found. Doing nothing"
|
||||
else
|
||||
echo "No existing symlink found. Creating new"
|
||||
ln -s $FORGE_POD_DATA_DIR $MOUNTPOINT_SYMLINK
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue