aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2003-09-30 02:46:24 +0000
committerJason Woodward2003-09-30 02:46:24 +0000
commit065b8506d96d08217c398a36d55c6eb7d47131a2 (patch)
tree8cbac66c2ecf4942e1fa8483d0d661e8b20ed267
parent1e71442cffa60443213ef455b9a11fe37c28f735 (diff)
downloadslapt-get-065b8506d96d08217c398a36d55c6eb7d47131a2.tar.gz
doc updates, install make target now creates /var/slapt-get
-rw-r--r--FAQ18
-rw-r--r--Makefile1
-rw-r--r--example.slapt-getrc4
3 files changed, 18 insertions, 5 deletions
diff --git a/FAQ b/FAQ
index 1c4eb8b..d396d03 100644
--- a/FAQ
+++ b/FAQ
@@ -39,11 +39,11 @@ Frequenty Asked Questions:
Two ways to install:
- A: You can build slapt-get from source and use the 'install' make target,
+ A: You can build slapt-get from source and use the 'install' make target,
- B: You can build from source and make a Slackware package with the 'pkg'
- make target. Then install the generated package within the newly created
- 'pkg' directory.
+ B: You can build from source and make a Slackware package with the 'pkg'
+ make target. Then install the generated package within the newly created
+ 'pkg' directory.
If you installed via `make install`, there is an 'uninstall' make target.
@@ -80,6 +80,16 @@ Frequenty Asked Questions:
release directory. --update your local package data cache, then --upgrade
to the newer release.
+ For instance, you have the following uncommented line as your mirror:
+
+ MIRROR=ftp://distro.ibiblio.org/pub/Linux/distributions/slackware/slackware-9.0/
+
+ Simply change the url to point to current, like so:
+
+ MIRROR=ftp://distro.ibiblio.org/pub/Linux/distributions/slackware/slackware-current/
+
+ Now you simply --update to retrieve the package data for that release.
+
CAVEAT: The simplicity of slapt-get means a lot of assurances are not in
place. You can break a working system if you do not follow the
suggestions in UPGRADE.TXT.
diff --git a/Makefile b/Makefile
index 83bbb71..0b02d6e 100644
--- a/Makefile
+++ b/Makefile
@@ -22,6 +22,7 @@ install: $(PROGRAM_NAME)
install $(PROGRAM_NAME) $(SBINDIR)
install --mode=0644 -b $(RCSOURCE) $(RCDEST)
install $(PROGRAM_NAME).8 /usr/man/man8/
+ install -d /var/$(PROGRAM_NAME)
uninstall:
-rm /sbin/$(PROGRAM_NAME)
diff --git a/example.slapt-getrc b/example.slapt-getrc
index 5fdbef6..771cfc2 100644
--- a/example.slapt-getrc
+++ b/example.slapt-getrc
@@ -1,4 +1,6 @@
-# base mirror url to directory with PACKAGES.TXT
+# base mirror url to directory with a PACKAGES.TXT
+# mirror can point to any release, ie: 9.0, 9.1, current, etc
+# MIRROR=ftp://distro.ibiblio.org/pub/Linux/distributions/slackware/slackware-9.1/
MIRROR=ftp://distro.ibiblio.org/pub/Linux/distributions/slackware/slackware-9.0/
WORKINGDIR=/var/slapt-get
EXCLUDE=kernel-ide,kernel-source,kernel-headers,kernel-modules