Skip to content

Commit

Permalink
CommanderPi: bookworm compat
Browse files Browse the repository at this point in the history
work towards #2401

official install script attempts to install psutil from pip when this package is available via apt in all distros of high enough version for the application. a wrong solution was suggested a long time ago #159
  • Loading branch information
theofficialgman committed Jul 29, 2023
1 parent 9cf0a59 commit ca380b5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions apps/CommanderPi/install
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ fi
rm -rf ~/CommanderPi &>/dev/null || sudo rm -rf ~/CommanderPi || error "Failed to remove CommanderPi folder!"

# Get dependencies
install_packages python3-tk python3-pil python3-pil.imagetk || exit 1
install_packages python3 python3-psutil python3-tk python3-pil python3-pil.imagetk || exit 1
git_clone https://github.com/Jack477/CommanderPi || error "failed to download repository!"
cd CommanderPi || error "failed to enter repository!"
chmod +x install.sh || error "failed to mark install.sh as executable!"
./install.sh || error "failed to run install.sh!"
# make sure start.sh is executable
chmod +x src/start.sh
sudo python3 c_desktop.py $USER || error "Could not install commanderpi!"
sudo chown $USER:$USER ~/Desktop/commanderpi.desktop
chmod +x ~/Desktop/commanderpi.desktop

0 comments on commit ca380b5

Please sign in to comment.