summaryrefslogtreecommitdiff
path: root/extra/xdg-utils/xdg-screensaver-mv-T.patch
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-04 23:52:30 +0100
committerdavidovski <david@davidovski.xyz>2022-05-04 23:52:30 +0100
commit739c65c54cb0e957df5e9b76f93fb02554e5cac3 (patch)
tree09ddfa0a342f3ea9de136cb50abdd79821bf1b53 /extra/xdg-utils/xdg-screensaver-mv-T.patch
parent4c585ad54388285500fd18a6aaa516894e0f2c16 (diff)
moved everything to new file formatting
Diffstat (limited to 'extra/xdg-utils/xdg-screensaver-mv-T.patch')
-rw-r--r--extra/xdg-utils/xdg-screensaver-mv-T.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/extra/xdg-utils/xdg-screensaver-mv-T.patch b/extra/xdg-utils/xdg-screensaver-mv-T.patch
deleted file mode 100644
index 9e209f7..0000000
--- a/extra/xdg-utils/xdg-screensaver-mv-T.patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- ./scripts/xdg-screensaver.in.orig
-+++ ./scripts/xdg-screensaver.in
-@@ -26,18 +26,10 @@
-
- #@xdg-utils-common@
-
--# Check if we can use "mv -T"
--if mv -T ... ... 2>&1 | grep '\.\.\.' > /dev/null ; then
-- # We can securely move files in /tmp with mv -T
-- DEBUG 1 "mv -T available"
-- MV="mv -T"
-- screensaver_file="/tmp/xdg-screensaver-$USER-"`echo $DISPLAY | sed 's/:/-/g'`
--else
-- # No secure moves available, use home dir
-- DEBUG 1 "mv -T not available"
-- MV="mv"
-- screensaver_file="$HOME/.xdg-screensaver-"`echo $(hostname)-$DISPLAY | sed 's/:/-/g'`
--fi
-+# No secure moves available, use home dir
-+DEBUG 1 "mv -T not available"
-+MV="mv"
-+screensaver_file="$HOME/.xdg-screensaver-"`echo $(hostname)-$DISPLAY | sed 's/:/-/g'`
- lockfile_command=`which lockfile 2> /dev/null`
-
- lockfile()