Update: Removed any Pepadmin ref

Removed any hardcoded Pepadmin references

Signed-off-by: debianpepper <pdpdebdevuan@protonmail.com>
This commit is contained in:
debianpepper 2024-08-23 17:09:18 +09:00
parent ef7c0430da
commit 351652aece
4 changed files with 7 additions and 13 deletions

View File

@ -1,11 +1,4 @@
""" "
* Author: "PeppermintOS Team(peppermintosteam@proton.me)
*
* License: SPDX-License-Identifier: GPL-3.0-or-later
*
* This hook is the central one used for all the builds
* Add things as needed
"""
import os import os
import platform import platform

View File

@ -272,8 +272,6 @@ LOADED_LIST = ('xfce4\n'
'transmission-gtk\n' 'transmission-gtk\n'
'thunderbird\n' 'thunderbird\n'
'thunderbird-l10n-all\n' 'thunderbird-l10n-all\n'
#'firefox-esr\n' start testing firefox latest install
#'firefox-esr-l10n-all\n'
'libreoffice\n' 'libreoffice\n'
'libreoffice-gtk3\n' 'libreoffice-gtk3\n'
'libreoffice-l10n*\n' 'libreoffice-l10n*\n'

View File

@ -363,8 +363,11 @@ def get_id_build_type():
""" """
This will get the type of build that is taking place This will get the type of build that is taking place
""" """
source_folder = '/home/pepadmin/start/bldtype' source_folder = os.path.expanduser('~/start/bldtype')
dest_folder = '/home/pepadmin/bubbles/iso_configs/fusato/config/includes.chroot/opt/pepconf' dest_folder = os.path.join(os.path.expanduser('~'),'bubbles',
'iso_configs','fusato','config','includes.chroot','opt',
'pepconf'
)
os.makedirs(dest_folder, exist_ok=True) os.makedirs(dest_folder, exist_ok=True)
for filename in os.listdir(source_folder): for filename in os.listdir(source_folder):
src_file = os.path.join(source_folder, filename) src_file = os.path.join(source_folder, filename)
@ -383,7 +386,7 @@ def add_web_profile():
typ typ
""" """
logger.info("Copy Web Profiles") logger.info("Copy Web Profiles")
path_to_bldtype_file = '/home/pepadmin/start/bldtype/' path_to_bldtype_file = os.path.expanduser('~/start/bldtype')
lw_src_path = '/browser_profiles/lw/' lw_src_path = '/browser_profiles/lw/'
ff_src_path = '/browser_profiles/ff/' ff_src_path = '/browser_profiles/ff/'
des_src_path ='/etc/skel/.local/share/pmostools' des_src_path ='/etc/skel/.local/share/pmostools'

View File