summary refs log tree commit diff stats
path: root/results/scraper/launchpad-without-comments/1484990
diff options
context:
space:
mode:
Diffstat (limited to 'results/scraper/launchpad-without-comments/1484990')
-rw-r--r--results/scraper/launchpad-without-comments/148499019
1 files changed, 19 insertions, 0 deletions
diff --git a/results/scraper/launchpad-without-comments/1484990 b/results/scraper/launchpad-without-comments/1484990
new file mode 100644
index 00000000..eaaf4725
--- /dev/null
+++ b/results/scraper/launchpad-without-comments/1484990
@@ -0,0 +1,19 @@
+fsfreeze-hook script should also ignored dpkg generated files
+
+Hello,
+
+In the fsfreeze-hook script, the following code check if some of the files should be ignored:
+
+
+# Check whether file $1 is a backup or rpm-generated file and should be ignored
+is_ignored_file() {
+    case "$1" in
+        *~ | *.bak | *.orig | *.rpmnew | *.rpmorig | *.rpmsave | *.sample)
+            return 0 ;;
+    esac
+    return 1
+}
+
+The functions should probably also skip dpkg generated files.
+
+I've found a list of the different extensions in the systemd source tree: https://github.com/systemd/systemd/blob/master/src/basic/util.c#L1871
\ No newline at end of file