Scripts and Configs fixed.
This commit is contained in:
@@ -43,13 +43,14 @@ else
|
||||
fi
|
||||
|
||||
# Copy scripts from the code directory to the app directory
|
||||
cp "$CODE_DIR/scripts/"* "$APP_DIR/scripts/"
|
||||
cp "$CODE_DIR/scripts/"*.sh "$APP_DIR/scripts/"
|
||||
cp "$CODE_DIR/scripts/"*.conf "$APP_DIR/configs/"
|
||||
|
||||
# Give execution permission to all scripts
|
||||
chmod +x "$APP_DIR/scripts/"*
|
||||
|
||||
mkdir -p "$HOME/.local/bin"
|
||||
ln -s "$APP_DIR/scripts/manager.sh" "$HOME/.local/bin/db-middleware"
|
||||
ln -sf "$APP_DIR/scripts/manager.sh" "$HOME/.local/bin/db-middleware"
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
source ~/.bashrc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user