also give root lsd and bpytop
This commit is contained in:
parent
b582bb9574
commit
0d21e43a8f
@ -205,10 +205,17 @@ J@@@5 :#@@@Y: :Y@@@B: 5@@@J
|
||||
^^
|
||||
EOF
|
||||
|
||||
# Install user-specific tools for the user account
|
||||
echo "[+] Installing user-specific tools for ${ALMA_USER}..."
|
||||
su - ${ALMA_USER} -c 'curl -fsSL https://claude.ai/install.sh | bash' || echo "WARNING: Claude Code installation failed"
|
||||
su - ${ALMA_USER} -c 'python3.13 -m pip install --user bpytop' || echo "WARNING: bpytop installation failed"
|
||||
# Install user-specific tools for both user and root
|
||||
echo "[+] Installing user-specific tools..."
|
||||
# Install for user
|
||||
echo " - Installing for ${ALMA_USER}..."
|
||||
su - ${ALMA_USER} -c 'curl -fsSL https://claude.ai/install.sh | bash' || echo "WARNING: ${ALMA_USER} Claude Code installation failed"
|
||||
su - ${ALMA_USER} -c 'python3.13 -m pip install --user bpytop' || echo "WARNING: ${ALMA_USER} bpytop installation failed"
|
||||
|
||||
# Install for root
|
||||
echo " - Installing for root..."
|
||||
curl -fsSL https://claude.ai/install.sh | bash || echo "WARNING: root Claude Code installation failed"
|
||||
python3.13 -m pip install bpytop || echo "WARNING: root bpytop installation failed"
|
||||
|
||||
# Install Docker from official repository
|
||||
echo "[+] Installing Docker..."
|
||||
@ -242,9 +249,10 @@ man "$@"
|
||||
BATMAN
|
||||
chmod +x /usr/local/bin/batman
|
||||
|
||||
# Create .tmp directory for user
|
||||
# Create .tmp directory for user and root
|
||||
mkdir -p /home/${ALMA_USER}/.tmp
|
||||
chown ${ALMA_USER}:${ALMA_USER} /home/${ALMA_USER}/.tmp
|
||||
mkdir -p /root/.tmp
|
||||
|
||||
# Configure Clevis for automatic unlock
|
||||
if [ ${#TANG_SERVERS[@]} -gt 0 ] || [ "$TPM_ENABLED" = true ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user