Bugfixed /tmp permissions after installation

This commit is contained in:
Dimitris Zlatanidis 2022-06-26 18:59:46 +03:00
parent f0256ddab9
commit efff260ba9
5 changed files with 12 additions and 5 deletions

View file

@ -1,3 +1,7 @@
4.1.3 - 26/06/2022
Bugfixed:
- /tmp permissions after installation
4.1.2 - 24/06/2022
Bugfixed:
- Installing noarch packages

View file

@ -30,8 +30,8 @@ Install from the official third-party `SBo repository <https://slackbuilds.org/r
.. code-block:: bash
$ tar xvf slpkg-4.1.2.tar.gz
$ cd slpkg-4.1.2
$ tar xvf slpkg-4.1.3.tar.gz
$ cd slpkg-4.1.3
$ ./install.sh

View file

@ -25,8 +25,7 @@ setup(
data_files=[('/etc/slpkg', ['configs/slpkg.yaml']),
('/etc/slpkg', ['configs/blacklist.yaml']),
('/var/lib/slpkg/database', []),
('/var/lib/slpkg/repository', []),
('/tmp/slpkg/build', [])],
('/var/lib/slpkg/repository', [])],
install_requires=install_requires,
classifiers=[
'Development Status :: 5 - Production/Stable',

View file

@ -48,6 +48,10 @@ class Configs:
colors: str = 'on'
wget_options = '-c -N'
# Creating the build path
if not os.path.isdir(build_path):
os.makedirs(build_path)
''' Overwrite with user configuration. '''
config_file: str = f'{etc_path}/{prog_name}.yaml'
if os.path.isfile(config_file):

View file

@ -10,7 +10,7 @@ from slpkg.configs import Configs
@dataclass
class Version:
prog_name: str = Configs.prog_name
version_info: tuple = (4, 1, 2)
version_info: tuple = (4, 1, 3)
version: str = '{0}.{1}.{2}'.format(*version_info)
license: str = 'MIT License'
author: str = 'dslackw'