Skip to content

Commit

Permalink
Full path on glob() - v1.18.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Javinator9889 committed May 10, 2018
1 parent 83a40a1 commit 2f82fd5
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -2,7 +2,7 @@
A Python tool for upgrade your kernel safely from https://kernel.org


[![PyPi](https://img.shields.io/badge/v1.18.2%20-PyPi-green.svg)](https://pypi.org/project/KernelUpgrader/)
[![PyPi](https://img.shields.io/badge/v1.18.3%20-PyPi-green.svg)](https://pypi.org/project/KernelUpgrader/)
[![ZIP](https://img.shields.io/badge/Package%20-Zip-green.svg)](https://github.com/Javinator9889/KernelUpgrader/archive/master.zip)
[![GIT](https://img.shields.io/badge/Package%20-Git-green.svg)](https://github.com/Javinator9889/KernelUpgrader.git)

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Expand Up @@ -3,7 +3,7 @@ KernelUpgrader

A Python tool for upgrade your kernel safely from https://kernel.org

.. image :: https://img.shields.io/badge/v1.18.2%20-PyPi-green.svg
.. image :: https://img.shields.io/badge/v1.18.3%20-PyPi-green.svg
:target: https://pypi.org/project/KernelUpgrader/
:alt: PyPi
.. image :: https://img.shields.io/badge/Package%20-Zip-green.svg
Expand Down
8 changes: 4 additions & 4 deletions kernel_upgrader/data_manager/__init__.py
Expand Up @@ -49,9 +49,9 @@ def __init__(self, kernel_folder, new_kernel_version, current_date):
new_kernel_version,
current_date,
kernel_folder)
self.__decompressed_path = "{}/linux_{}_{}".format(home_dir,
new_kernel_version,
current_date)
self.__decompressed_path = "{}/linux_{}_{}/".format(home_dir,
new_kernel_version,
current_date)
self.__log = logging.getLogger(LOG_KERNEL)
self.__log.debug("Kernel path: \"" + self.__kernel_path + "\"")
self.__log.debug("Decompressed kernel path: \"" + self.__decompressed_path + "\"")
Expand Down Expand Up @@ -158,7 +158,7 @@ def installKernel(self):
returnToHomeDir()
self.__log.debug("Starting kernel installation | Kernel source installation path: " + self.__decompressed_path)
self.__log.info("Using \"glob\" for applying special chars to command")
deb_pkg_glob = glob(COMPILE_DEB_PKG)
deb_pkg_glob = glob(self.__decompressed_path + COMPILE_DEB_PKG)
process = subprocess.run(COMPILE_INSTALL_NEW_KERNEL.split() + deb_pkg_glob,
stderr=subprocess.PIPE,
stdout=subprocess.PIPE,
Expand Down
2 changes: 1 addition & 1 deletion kernel_upgrader/values/Constants.py
Expand Up @@ -38,7 +38,7 @@

# Other params
OP_REPO_URL = "https://goo.gl/ZJ4zP9"
OP_VERSION = "1.18.2"
OP_VERSION = "1.18.3"
OP_VERSION_RAW = "https://github.com/Javinator9889/KernelUpgrader/raw/master/version.json"

# Program extended usage
Expand Down
Binary file modified version.json
Binary file not shown.

0 comments on commit 2f82fd5

Please sign in to comment.