diff --git a/a.py b/a.py new file mode 100644 index 0000000..86fc897 --- /dev/null +++ b/a.py @@ -0,0 +1,19 @@ + +import os + +destination_config_dir = '/usr/local/RapidBackup/config/destinations' +destinacija = "/etc/passwd /etc/passwd" + +# Show file path +def delete_destination(): + file_path = os.path.join(destination_config_dir, f"{destinacija}.conf") + print(file_path) + + try: + with open(file_path, 'r') as file: + print(file.read()) + except FileNotFoundError: + print("nema") + + +delete_destination() diff --git a/documentation/src/refine-theme/landing-hero-section.tsx b/documentation/src/refine-theme/landing-hero-section.tsx index 1e3feba..6160198 100644 --- a/documentation/src/refine-theme/landing-hero-section.tsx +++ b/documentation/src/refine-theme/landing-hero-section.tsx @@ -59,7 +59,7 @@ export const LandingHeroSection = ({ className }: { className?: string }) => { "text-gray-900 dark:text-gray-0", )} > - Next Generation Hosting Panel + Next Generation Hosting Panel