File: 0002-remove-unnecessary-backup-lines.patch

package info (click to toggle)
xfonts-mplus 1%3A2.2.4-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 2,764 kB
  • sloc: sh: 114; perl: 82; makefile: 6
file content (29 lines) | stat: -rw-r--r-- 725 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From: Hideki Yamane <henrich@debian.org>
Date: Mon, 30 Nov 2015 06:51:45 +0900
Subject: remove unnecessary backup lines

---
 install_mplus_fonts | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/install_mplus_fonts b/install_mplus_fonts
index 1ac1a5d..d76874c 100755
--- a/install_mplus_fonts
+++ b/install_mplus_fonts
@@ -28,16 +28,6 @@ CURPTH=/usr/X11R6/lib/X11/fonts/misc
 
 
 
-
-# Backup/Create mplus directory
-if [ -d ${PREFIX}.BAK ]; then
-	echo "remove: '${PREFIX}.BAK' directory"
-	rm -rf ${PREFIX}.BAK
-fi
-if [ -d $PREFIX ]; then
-	echo "backup: present '${PREFIX##/*/}' directory to '${PREFIX##/*/}.BAK'"
-	mv ${PREFIX} ${PREFIX}.BAK
-fi
 echo "create: new '$PREFIX' directory"
 mkdir -p $PREFIX