This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
389-admin/389-admin-git.sh
Rich Megginson 7c57f8eb77 Bug 730079 - Update SELinux policy during upgrades
(cherry picked from commit a8b99a4fba)
2011-08-11 14:43:48 -06:00

16 lines
367 B
Bash
Executable file

#!/bin/bash
DATE=`date +%Y%m%d`
VERSION=1.1.23
PKGNAME=389-admin
#SRCNAME=$PKGNAME-$VERSION-$DATE
SRCNAME=$PKGNAME-$VERSION
TAG=${PKGNAME}-${VERSION}
URL="http://git.fedorahosted.org/git/?p=389/admin.git;a=snapshot;h=$TAG;sf=tgz"
wget -O $SRCNAME.tar.gz "$URL"
echo convert tgz format to tar.bz2 format
gunzip $PKGNAME-$VERSION.tar.gz
bzip2 $PKGNAME-$VERSION.tar