Commit b94b3550 authored by segfault's avatar segfault
Browse files

Move /usr/share/tails-greeter to /usr/share/tails/greeter

parent 3801bd06
......@@ -127,7 +127,7 @@ if [ -z "${TAILS_USER_PASSWORD}" ] ; then
passwd -d "${LIVE_USERNAME}"
install -o root -g root -m 0440 /dev/null "${NO_PASSWORD_LECTURE}"
echo "Defaults:amnesia lecture=always" > "${NO_PASSWORD_LECTURE}"
echo "Defaults:amnesia lecture_file=/usr/share/tails-greeter/no-password-lecture.txt" >> "${NO_PASSWORD_LECTURE}"
echo "Defaults:amnesia lecture_file=/usr/share/tails/greeter/no-password-lecture.txt" >> "${NO_PASSWORD_LECTURE}"
echo "Defaults:amnesia badpass_message=\"The administration password is disabled.\"" >> "${NO_PASSWORD_LECTURE}"
log_n_exit "Password variable not found."
fi
......
......@@ -24,7 +24,7 @@ LPASSWORD = 'live'
LUSER = 'amnesia'
# data path
data_path = '/usr/share/tails-greeter/'
data_path = '/usr/share/tails/greeter/'
# File containing the language codes that are supported by the greeter
language_codes_path = os.path.join(data_path, 'language_codes')
......
......@@ -21,7 +21,7 @@ def main() -> None:
print(_('su is disabled. Please use sudo instead.'))
sys.exit(0)
else:
print(open("/usr/share/tails-greeter/no-password-lecture.txt").read())
print(open("/usr/share/tails/greeter/no-password-lecture.txt").read())
sys.exit(1)
if __name__ == "__main__":
......
#!/bin/bash
cd /usr/share/tails-greeter/
cd /usr/share/tails/greeter/
export LANG="en_US.UTF-8"
/usr/share/tails-greeter/set-cursor.py watch
/usr/share/tails/greeter/set-cursor.py watch
/usr/bin/python3 ./tails-greeter.py "$@"
......@@ -5,7 +5,7 @@ config/chroot_local-includes/usr/lib/python3/dist-packages/tailsgreeter/persiste
config/chroot_local-includes/usr/lib/python3/dist-packages/unlock_veracrypt_volumes/volume.py
config/chroot_local-includes/usr/lib/python3/dist-packages/unlock_veracrypt_volumes/volume_list.py
config/chroot_local-includes/usr/lib/python3/dist-packages/unlock_veracrypt_volumes/volume_manager.py
config/chroot_local-includes/usr/share/tails-greeter/greeter.ui
config/chroot_local-includes/usr/share/tails/greeter/greeter.ui
config/chroot_local-includes/usr/share/tails/additional-software/configuration-window.ui
config/chroot_local-includes/usr/share/tails/unlock-veracrypt-volumes/main.ui
config/chroot_local-includes/usr/share/tails/unlock-veracrypt-volumes/volume.ui
......@@ -33,7 +33,7 @@ JAVASCRIPT_PROGS=" \
/usr/share/gnome-shell/extensions/torstatus@tails.boum.org/extension.js \
"
GLADE_UI="\
/usr/share/tails-greeter/greeter.ui \
/usr/share/tails/greeter/greeter.ui \
/usr/share/tails/additional-software/configuration-window.ui \
"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment