mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2025-02-24 18:07:02 +00:00
* feat: Add zed editor -> developer tools * Rename dir Developer-tools -> developer-tools * Rename files from application-setup.sh -> application.sh The purpose of all files inside the directory is to setup an application no need to mention it in the file name * Revert userguide.md zed * docs: new repo (#888) * Removes docs and mentions on readme * Update README.md * Update README.md Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * Update linutil.yml * Delete xtask.yml * Update preview.yml * Update README.md --------- Co-authored-by: Chris Titus <contact@christitus.com> Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * fix(create-bootable-usb.sh) confirmation prompt (#902) * fix create-bootable-usb.sh confirmation prompt * Update core/tabs/utils/create-bootable-usb.sh Co-authored-by: Liam <33645555+lj3954@users.noreply.github.com> --------- Co-authored-by: Liam <33645555+lj3954@users.noreply.github.com> * fix (ci): preview workflow (#905) * fix: binary download, invalid action inputs * Update preview.yml --------- Co-authored-by: Real-MullaC <callumjanes2007new+github@gmail.com> Co-authored-by: Chris Titus <contact@christitus.com> Co-authored-by: Adam Perkowski <adas1per@protonmail.com> Co-authored-by: Lennart Pieperjohanns <95208734+lennartpj@users.noreply.github.com> Co-authored-by: Liam <33645555+lj3954@users.noreply.github.com>
30 lines
783 B
Bash
30 lines
783 B
Bash
#!/bin/sh -e
|
|
|
|
. ../../common-script.sh
|
|
|
|
installMeld() {
|
|
if ! command_exists org.gnome.meld && ! command_exists meld; then
|
|
printf "%b\n" "${YELLOW}Installing Meld...${RC}"
|
|
case "$PACKAGER" in
|
|
pacman)
|
|
"$ESCALATION_TOOL" "$PACKAGER" -S --needed --noconfirm meld
|
|
;;
|
|
apt-get|nala)
|
|
"$ESCALATION_TOOL" "$PACKAGER" -y install meld
|
|
;;
|
|
apk)
|
|
"$ESCALATION_TOOL" "$PACKAGER" add meld
|
|
;;
|
|
*)
|
|
checkFlatpak
|
|
flatpak install -y flathub org.gnome.meld
|
|
;;
|
|
esac
|
|
else
|
|
printf "%b\n" "${GREEN}Meld is already installed.${RC}"
|
|
fi
|
|
}
|
|
|
|
checkEnv
|
|
checkEscalationTool
|
|
installMeld |