}
function is_immudex_lightdm_wallpaper() {
- value="background = /usr/share/images/desktop-base/lightdm_wallpaper.jpg";
+ value='background = /usr/share/images/desktop-base/lightdm_wallpaper.jpg';
file="/etc/lightdm/lightdm-gtk-greeter.conf";
result=$(is_in_file $value $file);
return $result;
}
function is_immudex_lightdm_default_user_image() {
- value="default-user-image = /usr/share/images/desktop-base/immudex_xfce_greeter_logo.png";
+ value='default-user-image = /usr/share/images/desktop-base/immudex_xfce_greeter_logo.png';
file="/etc/lightdm/lightdm-gtk-greeter.conf";
result=$(is_in_file $value $file);
return $result;
}
function is_immudex_lightdm_theme() {
- value="theme-name = Adwaita-dark";
+ value='theme-name = Adwaita-dark';
file="/etc/lightdm/lightdm-gtk-greeter.conf";
result=$(is_in_file $value $file);
return $result;
}
function is_immudex_panel_activator_1_ok() {
- value="Name=Firefox ESR (Firejailed)";
+ value='Name=Firefox ESR (Firejailed)';
value1="Exec=/usr/local/bin/secured-firefox";
file="/home/user/.config/xfce4/panel/launcher-5/16844254192.desktop";
result=$($(is_in_file $value $file) && $(is_in_file $value1 $file));
}
function is_immudex_panel_activator_2_ok() {
- value="Exec=xfce4-terminal"
- value1="Name=Terminal Emulator"
+ value="Exec=xfce4-terminal";
+ value1='Name=Terminal Emulator';
file="/home/user/.config/xfce4/panel/launcher-7/16844254905.desktop"
result=$($(is_in_file $value $file) && $(is_in_file $value1 $file));
return $result;
function is_immudex_panel_activatior_3_ok() {
value="Name=Padlock";
- value1="Exec=xfce4-terminal -x /usr/local/bin/padlock";
+ value1='Exec=xfce4-terminal -x /usr/local/bin/padlock';
file="/home/user/.config/xfce4/panel/launcher-14/16844255236.desktop";
result=$($(is_in_file $value $file) && $(is_in_file $value1 $file));
return $result;
}
function is_immudex_widget_connky_running() {
- value="conky --daemonize --pause=5";
+ value='conky --daemonize --pause=5';
value1="$USER";
result=$(is_running $value $value1);
return $result;
value2="BackgroundImageFile=/usr/share/images/desktop-base/lofi_girl.jpg";
value3="BackgroundImageStyle=TERMINAL_BACKGROUND_STYLE_FILLED";
value4="BackgroundImageShading=0,750000";
- value5="FontName=Source Code Pro Medium 12";
+ value5='FontName=Source Code Pro Medium 12';
file="/home/user/.config/xfce4/terminal/terminalrc";
result=$($(is_in_file $value $file) &&\
$(is_in_file $value1 $file) &&\
}
function is_immudex_notifier_distro_autostart_file_ok() {
- value="~/immudex-testing/files/100/Notifier - distro.desktop";
- value1="/home/user/.config/autostart/Notifier - distro.desktop";
+ value='~/immudex-testing/files/100/Notifier - distro.desktop';
+ value1='/home/user/.config/autostart/Notifier - distro.desktop';
result=$(is_file_correct $value $value1);
return $result;
}
function is_immudex_notifier_packages_autostart_file_ok() {
- value="~/immudex-testing/files/Notifier - packages.desktop";
- value1="/home/xf0r3m/.config/autostart/Notifier - packages.desktop";
+ value='~/immudex-testing/files/Notifier - packages.desktop';
+ value1='/home/xf0r3m/.config/autostart/Notifier - packages.desktop';
result=$(is_file_correct $value $value1);
return $result;
}
}
function is_immudex_right_firefox_profile() {
- value="user_pref(\"extensions.lastPlatformVersion\", \"115.0.2\");";
+ value='user_pref("extensions.lastPlatformVersion", "115.0.2");';
file="/home/user/.mozilla/firefox/l9vw01ma.default-esr/prefs.js";
result=$(is_in_file $value $file);
return $result;
}
function is_immudex_has_resolv_in_etc_hosts() {
- value="127.0.1.1 immudex";
+ value='127.0.1.1 immudex';
file="/etc/hosts";
result=$(is_in_file $value $file);
return $result;
}
function is_immudex_user_is_in_sudoers_file() {
- value="^user ALL=(ALL:ALL) NOPASSWD:ALL$";
+ value='user ALL=(ALL:ALL) NOPASSWD:ALL';
file="/etc/sudoers";
result=$(is_in_file $value $file);
return $result;
}
function is_immudex_xf0r3m_is_in_sudoers_file() {
- value="^xf0r3m ALL=(ALL:ALL) NOPASSWD:ALL$";
+ value='^xf0r3m ALL=(ALL:ALL) NOPASSWD:ALL';
file="/etc/sudoers";
result=$(is_in_file $value $file);
return $result;