tips(kdedev): Migrate to fedora latest and fix configure.sh
All checks were successful
check / check (push) Successful in 34s
All checks were successful
check / check (push) Successful in 34s
This commit is contained in:
parent
d08eb3a107
commit
adfe3ce6cd
2 changed files with 6 additions and 13 deletions
|
@ -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"
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue