]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
pakfire: Allow special files in packages.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 10 Apr 2010 11:13:03 +0000 (13:13 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 10 Apr 2010 11:13:03 +0000 (13:13 +0200)
tools/compressor

index 659b28c7610767ea1b389f4227f2ce680aff6d9f..c6b9d4671731fdb1b122087b743a1e2874cd51a1 100755 (executable)
@@ -33,7 +33,7 @@ function isDir() {
 }
 
 function isFile() {
-       [ -f "${1}" ] || [ -h "${1}" ]
+       [ -f "${1}" ] || [ -h "${1}" ] || [ -b "${1}" ] || [ -c "${1}" ]
 }
 
 function add() {