tips(kdedev): Migrate to fedora latest and fix configure.sh
All checks were successful
check / check (push) Successful in 34s

This commit is contained in:
Florian RICHER 2024-09-08 21:05:15 +02:00
parent d08eb3a107
commit adfe3ce6cd
Signed by: florian.richer
GPG key ID: C73D37CBED7BFC77
2 changed files with 6 additions and 13 deletions

View file

@ -1,16 +1,9 @@
#!/bin/bash
if [[ $PATH != *".local/bin"* ]]; then
echo "Append .local/bin to PATH in ~/.bashrc"
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
echo "Reload shell"
source ~/.bashrc
fi
if [[ $PATH != *"alias new_shell"* ]]; then
echo "Append new_shell alias to PATH in ~/.bashrc"
echo 'alias new_shell="env -u PATH -u QML2_IMPORT_PATH -u QT_PLUGIN_PATH -u NIXPKGS_QT6_QML_IMPORT_PATH -u XDG_CONFIG_DIRS bash -l"' >> ~/.bashrc
echo "Reload shell"
if ! grep -Fxq "source ~/.kde_bashrc" ~/.bashrc
then
cp .kde_bashrc ~/.kde_bashrc
echo "source ~/.kde_bashrc" > ~/.bashrc
source ~/.bashrc
fi
@ -22,6 +15,6 @@ echo "Run initial setup from kde-builder"
kde-builder --initial-setup
echo "Install missing dependencies"
sudo dnf install qt6-*-devel
sudo dnf install qt6-*-devel librsvg2-devel
echo "Configuration DONE"

View file

@ -1,5 +1,5 @@
[kdedev]
image=quay.io/fedora/fedora:rawhide
image=quay.io/fedora/fedora:latest
home="${HOME}/.distrobox_home/kdedev"
nvidia=true
root=false