summarylogtreecommitdiffstats
path: root/linux-nitrous.install
diff options
context:
space:
mode:
authorSimao Gomes Viana2019-11-04 18:04:12 +0100
committerSimao Gomes Viana2019-11-04 18:17:19 +0100
commitae989f032350f0aa545e7afdbdf2c7aba58738ac (patch)
tree4bc9648362ac70cc039012c1ae7a259d539b47b6 /linux-nitrous.install
parentada3e499beb6fcf72d94916a7b1d70a05fcb47cb (diff)
downloadaur-ae989f032350f0aa545e7afdbdf2c7aba58738ac.tar.gz
Use linux-git as template
Thanks to the contributors mentioned in the PKGBUILD file
Diffstat (limited to 'linux-nitrous.install')
-rw-r--r--linux-nitrous.install46
1 files changed, 0 insertions, 46 deletions
diff --git a/linux-nitrous.install b/linux-nitrous.install
deleted file mode 100644
index 081ad9811cc9..000000000000
--- a/linux-nitrous.install
+++ /dev/null
@@ -1,46 +0,0 @@
-_kernel_version=5.3.8-nitrous+
-
-_r="\033[00;31m"
-_y="\033[00;33m"
-_g="\033[00;32m"
-_b="\033[00;34m"
-_B="\033[01;34m"
-_W="\033[01;37m"
-_n="\033[00;0m"
-
-post_install() {
- echo -e ""
- echo -e "$_B >$_W Kernel version:$_b $_kernel_version$_n"
-
- echo -e ""
- echo -e "$_B >$_W Updating module dependencies$_n"
- /sbin/depmod "$_kernel_version"
-
- echo -e ""
- echo -e "$_B >$_W Mkinitcpio setup"
- echo -e "$_n If you use LVM2, encrypted root or software RAID,"
- echo -e "$_n ensure you enable support in $_b/etc/mkinitcpio.d/linux-nitrous.conf"
- echo -e ""
- echo -e "$_n More information about mkinitcpio setup can be found here:"
- echo -e "$_b http://wiki.archlinux.org/index.php/Mkinitcpio"
-
- echo -e ""
- echo -e "$_B >$_W Generating initial ramdisks using mkinitcpio$_n"
- mkinitcpio -p linux-nitrous
-
- echo -e ""
-}
-
-post_upgrade() {
- post_install $@
-}
-
-post_remove() {
- dir="/usr/lib/modules/extramodules-$_kernel_version";
-
- if [ "$(ls -A $dir)" ]; then
- echo "Removing $dir - please note this removes any package files or extra modules you may have in there."
- fi
- rm -rf "/usr/lib/modules/$_kernel_version"
- rm -rf "/usr/lib/modules/extramodules-$_kernel_version"
-}