diff options
author | B Stack <bgstack15@gmail.com> | 2017-07-22 13:41:52 -0400 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2017-07-22 13:41:52 -0400 |
commit | 426f4dd16cfd7b54e4d5e8518a39fe97f7dcf3b4 (patch) | |
tree | 93025882f80961583f0b898efc37a2b7a5cee539 /usr | |
parent | fixed pack calling get-files (diff) | |
download | mirror-426f4dd16cfd7b54e4d5e8518a39fe97f7dcf3b4.tar.gz mirror-426f4dd16cfd7b54e4d5e8518a39fe97f7dcf3b4.tar.bz2 mirror-426f4dd16cfd7b54e4d5e8518a39fe97f7dcf3b4.zip |
deleted get-files-core which does not belong
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/share/mirror/build/get-files-core | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/usr/share/mirror/build/get-files-core b/usr/share/mirror/build/get-files-core deleted file mode 100755 index a3feb42..0000000 --- a/usr/share/mirror/build/get-files-core +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/sh -# File: get-files-core -case "${1}" in - rpm) - -### for rpm -find * -type d \ - -regex 'usr\/share\/bgscripts.*' \ - ! -regex '.*icons.*' \ - | sed -e 's/^/%dir \//;' -find * -mindepth 1 ! -name "${package}.spec.$$.swp" \ - ! -type d \ - ! -regex '.*.swp' \ - ! -regex '.*?DEBIAN.*?' \ - ! -regex '.*\/rdp.*' ! -regex '.*rdp\..*' \ - ! -regex '.*get-files$' \ - ! -regex '.*icons.*' \ - | sed -e ' -s/^/\// -s/\(.*\.txt\)/%doc %attr(444, -, -) \1/ -s/\(.*bin.*\)/%verify(link) \1/ -s/\(.*\)\.py$/\1\.py\n\1\.pyc\n\1\.pyo/ -s/\(.*\.conf\)/%config %attr(666, -, -) \1/ -' - - ;; - deb) - -### for deb -find . -mindepth 1 ! -name "${package}.spec.$$.swp" \ - ! -type d \ - ! -regex '.*?DEBIAN.*' ! -regex '.*?.swp' ! -regex '.*\.git.*' \ - ! -regex '.*\/rdp.*' ! -regex '.*rdp\..*' \ - ! -regex '.*get-files$' \ - ! -regex '.*icons.*' \ - -printf '%P ' - - ;; - *) - echo "FATAL ERROR: check ./pack or get-files-core. Please use [ rpm | deb ] option. Aborted." 1>&2 - exit 1 - ;; -esac |