[neon/kde/palapeli/Neon/stable] debian: add script to remove incorrect directory
Jonathan Riddell
null at kde.org
Thu Mar 14 14:26:17 GMT 2024
Git commit 80806dba2876ad0d07fc2d15474ae2d3fbca5993 by Jonathan Riddell.
Committed on 14/03/2024 at 14:26.
Pushed by jriddell into branch 'Neon/stable'.
add script to remove incorrect directory
A +5 -0 debian/palapeli.preinst
https://invent.kde.org/neon/kde/palapeli/-/commit/80806dba2876ad0d07fc2d15474ae2d3fbca5993
diff --git a/debian/palapeli.preinst b/debian/palapeli.preinst
new file mode 100755
index 0000000..bfe91d3
--- /dev/null
+++ b/debian/palapeli.preinst
@@ -0,0 +1,5 @@
+#!/bin/sh
+set -e
+
+# old versions installed a directory here which confused upgrade
+if [ -d /usr/games/palapeli ]; then echo "Removing /usr/games/palapeli/ directory"; rm -r /usr/games/palapeli; fi
More information about the Neon-commits
mailing list