Made init script start genie bottle if genie is installed and we're not already in one.
This commit is contained in:
@@ -60,6 +60,13 @@ pkg.uninstall() {
|
||||
|
||||
pkg.init() {
|
||||
|
||||
# Check if systemd-genie is installed, and let's execute that if we're not in a bottle.
|
||||
if [ "$INSIDE_GENIE" != true ]; then
|
||||
if [ -e /etc/genie.ini ]; then
|
||||
genie -s
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
echo "[INFO] Initializing ToxOS Shell..."
|
||||
# Add Shell Binaries to PATH
|
||||
declare -x PATH=$PATH:$HOME/.shell/bin
|
||||
|
||||
Reference in New Issue
Block a user