File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2064,7 +2064,7 @@ def set_keyboard_language(self, language: str) -> bool:
20642064 # In accordance with https://github.com/archlinux/archinstall/issues/107#issuecomment-841701968
20652065 # Setting an empty keymap first, allows the subsequent call to set layout for both console and x11.
20662066 with Boot (self .target ) as session :
2067- os .system ('systemd-run --machine=archinstall --pty localectl set-keymap ""' ) # type: ignore[deprecated]
2067+ os .system ('systemd-run --machine=archinstall --pty localectl set-keymap ""' )
20682068
20692069 try :
20702070 session .sys_command (['localectl' , 'set-keymap' , language ])
@@ -2130,7 +2130,7 @@ def _service_state(self, service_name: str) -> str:
21302130
21312131
21322132def accessibility_tools_in_use () -> bool :
2133- return os .system ('systemctl is-active --quiet espeakup.service' ) == 0 # type: ignore[deprecated]
2133+ return os .system ('systemctl is-active --quiet espeakup.service' ) == 0
21342134
21352135
21362136def run_custom_user_commands (commands : list [str ], installation : Installer ) -> None :
Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ def perform_installation(
193193 case PostInstallationAction .EXIT :
194194 pass
195195 case PostInstallationAction .REBOOT :
196- _ = os .system ('reboot' ) # type: ignore[deprecated]
196+ os .system ('reboot' )
197197 case PostInstallationAction .CHROOT :
198198 try :
199199 installation .drop_to_shell ()
You can’t perform that action at this time.
0 commit comments