mirror of
https://github.com/kingomarnajjar/desktop-environment.git
synced 2026-07-25 22:27:20 +10:00
readlink
This commit is contained in:
parent
0975f1031f
commit
f0c5659bf8
26 changed files with 26 additions and 26 deletions
|
|
@ -1,4 +1,4 @@
|
|||
REPO_ROOT=$(dirname $(realpath $0))/..
|
||||
REPO_ROOT=$(dirname $(readlink -f $0))/..
|
||||
|
||||
# Extract credentials from environment
|
||||
if [ ! -z "$DESKTOP_ENVIRONMENT_CREDENTIALS" ]; then
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
REPO_ROOT=$(dirname $(realpath $0))/../..
|
||||
REPO_ROOT=$(dirname $(readlink -f $0))/../..
|
||||
|
||||
# Export desktop environment shell configuration
|
||||
export $($REPO_ROOT/docker/scripts/environment.sh)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
REPO_ROOT=$(dirname $(realpath $0))/../..
|
||||
REPO_ROOT=$(dirname $(readlink -f $0))/../..
|
||||
|
||||
# Export desktop environment shell configuration
|
||||
export $($REPO_ROOT/docker/scripts/environment.sh)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
REPO_ROOT=$(dirname $(realpath $0))/../..
|
||||
REPO_ROOT=$(dirname $(readlink -f $0))/../..
|
||||
|
||||
# Clean secrets and home
|
||||
$REPO_ROOT/docker/scripts/clean-secrets.sh
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
REPO_ROOT=$(dirname $(realpath $0))/../..
|
||||
REPO_ROOT=$(dirname $(readlink -f $0))/../..
|
||||
|
||||
# Perform standard clean
|
||||
$REPO_ROOT/docker/scripts/clean.sh
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
REPO_ROOT=$(dirname $(realpath $0))/../..
|
||||
REPO_ROOT=$(dirname $(readlink -f $0))/../..
|
||||
|
||||
# Stop the running environment so there are no containers using the volumes, ignoring errors if it does not exist
|
||||
$REPO_ROOT/docker/scripts/stop.sh 2>/dev/null
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
REPO_ROOT=$(dirname $(realpath $0))/../..
|
||||
REPO_ROOT=$(dirname $(readlink -f $0))/../..
|
||||
|
||||
# Desktop environment user configuration
|
||||
DESKTOP_ENVIRONMENT_CONTAINER=desktop-environment
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
REPO_ROOT=$(dirname $(realpath $0))/../..
|
||||
REPO_ROOT=$(dirname $(readlink -f $0))/../..
|
||||
|
||||
# Export desktop environment shell configuration
|
||||
export $($REPO_ROOT/docker/scripts/environment.sh)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
REPO_ROOT=$(dirname $(realpath $0))/../..
|
||||
REPO_ROOT=$(dirname $(readlink -f $0))/../..
|
||||
|
||||
# Export desktop environment shell configuration
|
||||
export $($REPO_ROOT/docker/scripts/environment.sh)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
REPO_ROOT=$(dirname $(realpath $0))/../..
|
||||
REPO_ROOT=$(dirname $(readlink -f $0))/../..
|
||||
|
||||
# Export desktop environment shell configuration
|
||||
export $($REPO_ROOT/docker/scripts/environment.sh)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
REPO_ROOT=$(dirname $(realpath $0))/../..
|
||||
REPO_ROOT=$(dirname $(readlink -f $0))/../..
|
||||
|
||||
# Check for changes to vcsh repositories before removing home volume
|
||||
$REPO_ROOT/docker/scripts/exec.sh "vcsh status | grep -qE \"^ M \" -"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
REPO_ROOT=$(dirname $(realpath $0))/../..
|
||||
REPO_ROOT=$(dirname $(readlink -f $0))/../..
|
||||
|
||||
# Export desktop environment shell configuration
|
||||
export $($REPO_ROOT/docker/scripts/environment.sh)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
REPO_ROOT=$(dirname $(realpath $0))/../..
|
||||
REPO_ROOT=$(dirname $(readlink -f $0))/../..
|
||||
|
||||
# Rebuild the desktop environment
|
||||
$REPO_ROOT/docker/scripts/build.sh
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
REPO_ROOT=$(dirname $(realpath $0))/../..
|
||||
REPO_ROOT=$(dirname $(readlink -f $0))/../..
|
||||
|
||||
# Rebuild the desktop environment container
|
||||
$REPO_ROOT/docker/scripts/build.sh
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
REPO_ROOT=$(dirname $(realpath $0))/../..
|
||||
REPO_ROOT=$(dirname $(readlink -f $0))/../..
|
||||
|
||||
# Rebuild the desktop environment
|
||||
$REPO_ROOT/docker/scripts/build.sh
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
REPO_ROOT=$(dirname $(realpath $0))/../..
|
||||
REPO_ROOT=$(dirname $(readlink -f $0))/../..
|
||||
|
||||
# Rebuild the desktop environment
|
||||
$REPO_ROOT/docker/scripts/build.sh
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
REPO_ROOT=$(dirname $(realpath $0))/../..
|
||||
REPO_ROOT=$(dirname $(readlink -f $0))/../..
|
||||
|
||||
$REPO_ROOT/docker/scripts/stop.sh
|
||||
$REPO_ROOT/docker/scripts/start.sh
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
REPO_ROOT=$(dirname $(realpath $0))/../..
|
||||
REPO_ROOT=$(dirname $(readlink -f $0))/../..
|
||||
|
||||
# Export desktop environment shell configuration
|
||||
export $($REPO_ROOT/docker/scripts/environment.sh)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
REPO_ROOT=$(dirname $(realpath $0))/../..
|
||||
REPO_ROOT=$(dirname $(readlink -f $0))/../..
|
||||
|
||||
# Export desktop environment shell configuration
|
||||
export $($REPO_ROOT/docker/scripts/environment.sh)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
REPO_ROOT=$(dirname $(realpath $0))/../..
|
||||
REPO_ROOT=$(dirname $(readlink -f $0))/../..
|
||||
|
||||
# Export desktop environment shell configuration
|
||||
export $($REPO_ROOT/docker/scripts/environment.sh)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
REPO_ROOT=$(dirname $(realpath $0))/../..
|
||||
REPO_ROOT=$(dirname $(readlink -f $0))/../..
|
||||
|
||||
# Export desktop environment shell configuration
|
||||
export $($REPO_ROOT/docker/scripts/environment.sh)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
REPO_ROOT=$(dirname $(realpath $0))/../..
|
||||
REPO_ROOT=$(dirname $(readlink -f $0))/../..
|
||||
|
||||
# Export desktop environment shell configuration
|
||||
export $($REPO_ROOT/docker/scripts/environment.sh)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
REPO_ROOT=$(dirname $(realpath $0))/../..
|
||||
REPO_ROOT=$(dirname $(readlink -f $0))/../..
|
||||
|
||||
# Export desktop environment shell configuration
|
||||
export $($REPO_ROOT/docker/scripts/environment.sh)
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ if [ $USER != "root" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
REPO_ROOT=$(dirname $(realpath $0))/..
|
||||
REPO_ROOT=$(dirname $(readlink -f $0))/..
|
||||
|
||||
# Export desktop environment shell configuration
|
||||
export $($REPO_ROOT/docker/scripts/environment.sh)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
REPO_ROOT=$(dirname $(realpath $0))/../..
|
||||
REPO_ROOT=$(dirname $(readlink -f $0))/../..
|
||||
|
||||
# Export desktop environment shell configuration
|
||||
export $($REPO_ROOT/docker/scripts/environment.sh)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
REPO_ROOT=$(dirname $(realpath $0))/../..
|
||||
REPO_ROOT=$(dirname $(readlink -f $0))/../..
|
||||
|
||||
# Export desktop environment shell configuration
|
||||
export $($REPO_ROOT/docker/scripts/environment.sh)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue