updated for version 2.0.4

This commit is contained in:
Dimitris Zlatanidis 2014-11-07 05:50:48 +02:00
parent bb0a96e53d
commit 0323a97f5f
6 changed files with 12 additions and 12 deletions

View file

@ -68,9 +68,8 @@ Features
--------
- Build third party packages from source with all dependencies
- Install packages through from official `Slackware <http://www.slackware.com/>`_ mirrors
- Find and Download packages from `slackbuilds.org <http://slackbuilds.org/>`_
- Grabs packages from slackbuilds.org in real time
- Grabs packages from repositories in real time
- Find and Download packages from repositories
- Automatic tool build and install packages
- Check if your distribution is up to date
- Remove packages with all dependencies
@ -135,7 +134,7 @@ Command Line Tool Usage
-b, --list, [package...] --add, --remove add, remove packages in blacklist
-q, --list, [package...] --add, --remove add, remove packages in queue
--build, --install, --build-install build or install from queue
-l, all, sbo, slack, noarch list of installed packages
-l, <repository>, all, noarch list of installed packages
-c, <repository> --upgrade --current check for updated packages
-s, <repository> <package> --current download, build & install
-f, <package> find installed packages

View file

@ -39,7 +39,7 @@ Optional arguments:
-b, --list, [package...] --add, --remove add, remove packages in blacklist
-q, --list, [package...] --add, --remove add, remove packages in queue
--build, --install, --build-install build or install from queue
-l, all, sbo, slack, noarch list of installed packages
-l, <repository>, all, noarch list of installed packages
-c, <repository> --upgrade --current check for updated packages
-s, <repository> <package> --current download, build & install
-f, <package> find installed packages

View file

@ -40,7 +40,7 @@ def options():
"queue",
" --build, --install, --build-install build or install from " +
"queue",
" -l, all, sbo, slack, noarch list of installed " +
" -l, <repository>, all, noarch list of installed " +
"packages",
" -c, <repository> --upgrade --current check for updated " +
"packages",

View file

@ -86,8 +86,9 @@ def main():
usage()
elif len(args) == 4 and args[0] == "-c":
if args[1] == repository[1] and args[3] == "--current":
version = "current"
Patches(version).start()
Patches("current").start()
elif args[1] == repository[3] and args[3] == "--current":
OthersUpgrade(repository[3], "current").start()
else:
usage()
elif len(args) == 3 and args[0] == "-s":

View file

@ -26,10 +26,10 @@ import sys
from sizes import units
from repositories import Repo
from init import Initialization
from blacklist import BlackList
from splitting import split_package
from messages import template
from blacklist import BlackList
from init import Initialization
from splitting import split_package
from colors import YELLOW, GREY, ENDC
from __metadata__ import slpkg_tmp, pkg_path, lib_path

View file

@ -30,7 +30,7 @@ def delete(path, packages):
'''
if os.listdir(path):
read = raw_input("Removal downloaded packages [Y/n]? ")
if read == "Y" or read == "y":
if read in ['y', 'Y']:
for pkg in packages:
os.remove(path + pkg)
os.remove(path + pkg + ".asc")