Commit b602270c authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

update space creator

parent 1b56f9d5
Pipeline #3205 failed with stage
in 10 minutes and 3 seconds
dpkg -l | grep '^ii.*spacecreator.*0.1.34313' > /dev/null || {
dpkg -l | grep '^ii.*spacecreator.*0.1.34409' > /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..."
if wget -O $NEW_DEB "" ; then
if wget -O $NEW_DEB "" ; then
sudo gdebi -n -o=--no-install-recommends $NEW_DEB || {
echo "[x] Failed to install $NEW_DEB..."
ls -l $NEW_DEB
......@@ -26,3 +26,13 @@ mkdir -p ~/.local/share/QtProject/QtCreator/contextMenu || 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
echo "Installing Syntax Highlighting files for Qt Creator"
# The "fallback" folder of Qt Creator may be either Kate or Qt Creator's install folder, depending on
# the machine setup. We put the files in both locations to be sure it works everywhere
cp -u /usr/share/kde4/apps/katepart/syntax/ada.xml ~/.config/QtProject/qtcreator/generic-highlighter
sudo cp -u /usr/share/kde4/apps/katepart/syntax/ada.xml /usr/share/qtcreator/generic-highlighter
cp -u misc/space-creator/syntax/* ~/.config/QtProject/qtcreator/generic-highlighter
sudo cp -u misc/space-creator/syntax/* /usr/share/kde4/apps/katepart/syntax
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