aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2006-09-19 17:14:04 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2006-09-19 17:14:04 +0000
commit0f6433a96d7977705913754bd01d87d06e23d1ae (patch)
tree4494c12de7137b93f057f316f59d1c13e2fcf8c9
parent397f31fcb0b47000c6e5c5c4aaf441970ce06e3a (diff)
downloadsimplepkg-0f6433a96d7977705913754bd01d87d06e23d1ae.tar.gz
simplepkg-0f6433a96d7977705913754bd01d87d06e23d1ae.tar.bz2
various small fixes, see CHANGELOG
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@6 04377dda-e619-0410-9926-eae83683ac58
-rw-r--r--doc/CHANGELOG4
-rw-r--r--install/doinst.sh4
-rwxr-xr-xsimplepkg.SlackBuild6
3 files changed, 6 insertions, 8 deletions
diff --git a/doc/CHANGELOG b/doc/CHANGELOG
index 847ec3b..659076d 100644
--- a/doc/CHANGELOG
+++ b/doc/CHANGELOG
@@ -1,7 +1,9 @@
simplepkg changelog
-------------------
-0.4.9pre2: re-organized the source repository
+0.4.9pre2: fixed simplepkg.SlackBuild
+ fixed doinst.sh
+ re-organized the source repository
added createpkg
updated README and README.pt_BR
diff --git a/install/doinst.sh b/install/doinst.sh
index f205158..f3af964 100644
--- a/install/doinst.sh
+++ b/install/doinst.sh
@@ -1,2 +1,2 @@
-( if [ ! -f "/etc/simplepkg/simplepkg.conf" ]; then mv /etc/simplepkg.conf.new /etc/simplepkg/simplepkg.conf; fi )
-( if [ ! -f "/etc/simplepkg/repos.conf" ]; then mv /etc/simplepkg/repos.conf.new /etc/simplepkg/repos.conf; fi )
+( if [ ! -f "etc/simplepkg/simplepkg.conf" ]; then mv etc/simplepkg/simplepkg.conf.new etc/simplepkg/simplepkg.conf; fi )
+( if [ ! -f "etc/simplepkg/repos.conf" ]; then mv etc/simplepkg/repos.conf.new etc/simplepkg/repos.conf; fi )
diff --git a/simplepkg.SlackBuild b/simplepkg.SlackBuild
index 7f435b2..74606de 100755
--- a/simplepkg.SlackBuild
+++ b/simplepkg.SlackBuild
@@ -5,7 +5,7 @@
PACKAGE="simplepkg"
PACK_DIR="package-$PACKAGE"
-BUILD="1rha"
+BUILD="4rha"
VERSION="0.4.9pre2"
ARCH="noarch"
@@ -48,10 +48,6 @@ cp conf/repos.conf.new $PACK_DIR/etc/$PACKAGE
cd $PACK_DIR/usr/sbin && ln -s jail-upgrade vserver-upgrade
cd -
-# install script
-echo '( if [ ! -f "/etc/simplepkg/simplepkg.conf" ]; then mv /etc/simplepkg.conf.new /etc/simplepkg/simplepkg.conf; fi )' > install/doinst.sh
-echo '( if [ ! -f "/etc/simplepkg/repos.conf" ]; then mv /etc/simplepkg/repos.conf.new /etc/simplepkg/repos.conf; fi )' >> install/doinst.sh
-
cd $PACK_DIR
chown -R root.root *