Updated:
Signed-off-by: debianpepper <pdpdebdevuan@protonmail.com>
This commit is contained in:
parent
da550b73de
commit
764f7fa139
|
@ -76,10 +76,10 @@ def install_librewolf_browser():
|
|||
)
|
||||
|
||||
file_path = '/etc/apt/sources.list.d/librewolf.sources'
|
||||
os.system('sudo apt update && '
|
||||
'sudo apt install -y wget gnupg lsb-release apt-transport-https ca-certificates')
|
||||
os.system('apt update && '
|
||||
'apt install -y wget gnupg lsb-release apt-transport-https ca-certificates')
|
||||
os.system('wget -O- https://deb.librewolf.net/keyring.gpg | '
|
||||
'sudo gpg --dearmor -o /usr/share/keyrings/librewolf.gpg')
|
||||
'gpg --dearmor -o /usr/share/keyrings/librewolf.gpg')
|
||||
try:
|
||||
with open(file_path, 'w', encoding='utf-8') as f:
|
||||
f.write(content)
|
||||
|
@ -88,8 +88,8 @@ def install_librewolf_browser():
|
|||
print(f"Permission denied. Please run this script with "
|
||||
f"appropriate permissions to write to {file_path}.")
|
||||
return
|
||||
os.system('sudo apt update')
|
||||
os.system('sudo apt install librewolf -y')
|
||||
os.system('apt update')
|
||||
os.system('apt install librewolf -y')
|
||||
print("Browser installed!")
|
||||
else:
|
||||
print("No builds were met not installed")
|
||||
|
@ -191,6 +191,7 @@ def setting_permissions():
|
|||
os.system('chmod 755 /usr/local/bin/kumo')
|
||||
os.system('chmod 755 /usr/local/bin/welcome')
|
||||
os.system('chmod 755 /usr/bin/install-peppermint')
|
||||
os.system('chmod 755 /opt/pepconf/*')
|
||||
# Set permissions on the Python libs
|
||||
os.system('chmod 755 -R /usr/lib/python3/dist-packages/tendo')
|
||||
os.system('chmod 755 -R /usr/lib/python3/dist-packages/tendo-0.3.0.dist-info')
|
||||
|
|
Loading…
Reference in New Issue