mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-31 06:28:22 +00:00
distro: add some install hooks
This commit is contained in:
@@ -22,4 +22,6 @@ package() {
|
||||
ln -fvs /usr/share/games/doom/DOOM1.WAD ${dest_dir}/root/DOOM1.WAD
|
||||
ln -fvs /usr/share/games/doom/DOOM1.WAD ${dest_dir}/home/astral/DOOM1.WAD
|
||||
ln -fvs /usr/share/games/doom/DOOM1.WAD ${dest_dir}/etc/skel/DOOM1.WAD
|
||||
|
||||
copy_install_hook
|
||||
}
|
||||
|
||||
@@ -22,4 +22,5 @@ build() {
|
||||
|
||||
package() {
|
||||
make install DESTDIR=${dest_dir}
|
||||
copy_install_hook
|
||||
}
|
||||
|
||||
@@ -21,4 +21,6 @@ package() {
|
||||
echo "astral ALL=(ALL:ALL) ALL" >> ${dest_dir}/etc/sudoers
|
||||
chmod ${mode} ${dest_dir}/etc/sudoers
|
||||
chmod u+s ${dest_dir}/etc/sudoers
|
||||
|
||||
copy_install_hook
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user