Commit 32a651b7 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Update space creator

parent bf3a88a9
#!/bin/bash
dpkg -l | grep '^ii.*spacecreator.*0.1.33262' > /dev/null || {
dpkg -l | grep '^ii.*spacecreator.*0.1.33665' > /dev/null || {
dpkg -l | grep spacecreator > /dev/null && {
echo "[-] Uninstalling previously existing version..."
sudo apt remove -y --force-yes spacecreator || exit 1
}
echo "[-] Installing the latest Space Creator..."
NEW_DEB=/tmp/newSpaceCreator.$$.deb
if wget -O $NEW_DEB "https://download.tuxfamily.org/taste/SpaceCreator-0.1.33262-Linux.deb" ; then
if wget -O $NEW_DEB "https://download.tuxfamily.org/taste/SpaceCreator-0.1.33665-Linux.deb" ; then
sudo gdebi -n -o=--no-install-recommends $NEW_DEB || {
echo "[x] Failed to install $NEW_DEB..."
ls -l $NEW_DEB
......@@ -21,8 +21,8 @@ dpkg -l | grep '^ii.*spacecreator.*0.1.33262' > /dev/null || {
}
# install the taste configuration files for Space Creator (color scheme, etc.)
echo "Installing Space Creator configuration files"
mkdir -p ~/.local/share/QtProject/QtCreator/colors || exit 1
mkdir -p ~/.local/share/qtcreator/colors || exit 1
mkdir -p ~/.local/share/QtProject/QtCreator/contextMenu || exit 1
cp -u misc/space-creator/default_colors.json ~/.local/share/QtProject/QtCreator/colors/ || exit 1
cp -u misc/space-creator/default_colors.json ~/.local/share/qtcreator/colors/default_colors.json || exit 1
cp -u misc/space-creator/contextmenu.json ~/.local/share/QtProject/QtCreator/contextMenu/ || exit 1
cp -u misc/space-creator/default_attributes.xml ~/.local/share/QtProject/QtCreator/ || exit 1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment