diff options
author | B Stack <bgstack15@gmail.com> | 2017-07-23 10:24:23 -0400 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2017-07-23 10:24:23 -0400 |
commit | 258fd797953ba64e577c98fa1ddc9c5698f1f3ed (patch) | |
tree | 7945a8aaf1eb69311ca7be6e78121caa20c2a256 | |
parent | Fixed update-deb Date format for deb source list file (diff) | |
download | mirror-258fd797953ba64e577c98fa1ddc9c5698f1f3ed.tar.gz mirror-258fd797953ba64e577c98fa1ddc9c5698f1f3ed.tar.bz2 mirror-258fd797953ba64e577c98fa1ddc9c5698f1f3ed.zip |
Added update-tar example script
-rw-r--r-- | usr/share/doc/mirror/README.txt | 1 | ||||
-rwxr-xr-x | usr/share/mirror/examples/tar/update-smith122tar.sh | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/usr/share/doc/mirror/README.txt b/usr/share/doc/mirror/README.txt index 0c71aa3..6b133ce 100644 --- a/usr/share/doc/mirror/README.txt +++ b/usr/share/doc/mirror/README.txt @@ -134,3 +134,4 @@ Changed deploy.conf to use package directories for deployment - Fixed deb and rpm icons to have transparent backgrounds. - Added the tar repo to deploy.conf. - Fixed deb source Date: format. +- Added update-tar example script. diff --git a/usr/share/mirror/examples/tar/update-smith122tar.sh b/usr/share/mirror/examples/tar/update-smith122tar.sh new file mode 100755 index 0000000..743ddcd --- /dev/null +++ b/usr/share/mirror/examples/tar/update-smith122tar.sh @@ -0,0 +1,5 @@ +#!/bin/sh +cd /mnt/public/www/smith122/repo/tar +chown -R apache:apache . +find . -type f -regextype grep \( -regex '.*\.tar' -o -regex '.*\.tgz' -o -regex '.*\.gz' \) -exec chmod '-x' {} \; ; +chmod +x "$0" |