File tree Expand file tree Collapse file tree 1 file changed +14
-11
lines changed
Expand file tree Collapse file tree 1 file changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -1329,17 +1329,20 @@ def _add_limine_bootloader(
13291329 f' && /usr/bin/cp /usr/share/limine/limine-bios.sys /boot/limine/'
13301330 )
13311331
1332- hook_contents = f'''[Trigger]
1333- Operation = Install
1334- Operation = Upgrade
1335- Type = Package
1336- Target = limine
1337-
1338- [Action]
1339- Description = Deploying Limine after upgrade...
1340- When = PostTransaction
1341- Exec = /bin/sh -c "{ hook_command } "
1342- '''
1332+ hook_contents = textwrap .dedent (
1333+ f'''\
1334+ [Trigger]
1335+ Operation = Install
1336+ Operation = Upgrade
1337+ Type = Package
1338+ Target = limine
1339+
1340+ [Action]
1341+ Description = Deploying Limine after upgrade...
1342+ When = PostTransaction
1343+ Exec = /bin/sh -c "{ hook_command } "
1344+ '''
1345+ )
13431346
13441347 hooks_dir = self .target / 'etc' / 'pacman.d' / 'hooks'
13451348 hooks_dir .mkdir (parents = True , exist_ok = True )
You can’t perform that action at this time.
0 commit comments