2019-11-30 22:56:50 +01:00
|
|
|
#!/usr/bin/python3
|
2014-05-23 07:46:51 +02:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
2014-08-27 20:11:46 +02:00
|
|
|
# slpkg file is part of slpkg.
|
2014-08-13 06:28:04 +02:00
|
|
|
|
2020-01-30 16:56:07 +01:00
|
|
|
# Copyright 2014-2020 Dimitris Zlatanidis <d.zlatanidis@gmail.com>
|
2014-08-13 06:28:04 +02:00
|
|
|
# All rights reserved.
|
|
|
|
|
2014-12-19 05:57:56 +01:00
|
|
|
# Slpkg is a user-friendly package manager for Slackware installations
|
2014-08-13 06:28:04 +02:00
|
|
|
|
2018-06-09 22:11:12 +02:00
|
|
|
# https://gitlab.com/dslackw/slpkg
|
2014-08-13 06:28:04 +02:00
|
|
|
|
2014-08-27 20:11:46 +02:00
|
|
|
# Slpkg is free software: you can redistribute it and/or modify
|
2014-08-13 06:28:04 +02:00
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
2015-06-05 13:42:52 +02:00
|
|
|
"""
|
2014-10-14 05:01:38 +02:00
|
|
|
_ _
|
|
|
|
___| |_ __ | | ____ _
|
2014-07-31 05:44:04 +02:00
|
|
|
/ __| | '_ \| |/ / _` |
|
|
|
|
\__ \ | |_) | < (_| |
|
|
|
|
|___/_| .__/|_|\_\__, |
|
2014-10-14 05:01:38 +02:00
|
|
|
|_| |___/
|
2014-07-31 05:44:04 +02:00
|
|
|
|
2015-05-21 03:11:09 +02:00
|
|
|
Slpkg is a user-friendly package manager for Slackware installations
|
2015-06-05 13:42:52 +02:00
|
|
|
"""
|
2014-07-26 14:13:15 +02:00
|
|
|
|
2015-02-04 01:08:44 +01:00
|
|
|
from slpkg.main import main
|
2015-09-26 07:08:39 +02:00
|
|
|
from slpkg.superuser import s_user
|
2014-05-23 07:46:51 +02:00
|
|
|
|
|
|
|
if __name__ == "__main__":
|
2015-09-24 12:55:10 +02:00
|
|
|
try:
|
2015-09-26 07:08:39 +02:00
|
|
|
s_user()
|
2015-09-24 12:55:10 +02:00
|
|
|
main()
|
|
|
|
except KeyboardInterrupt:
|
2019-12-02 18:36:32 +01:00
|
|
|
print()
|
2015-09-24 12:55:10 +02:00
|
|
|
raise SystemExit()
|