mirror of
				https://github.com/flynx/post-install.git
				synced 2025-10-30 19:20:07 +00:00 
			
		
		
		
	tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									931bf814b7
								
							
						
					
					
						commit
						a2c2e8016c
					
				
							
								
								
									
										11
									
								
								post-install
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								post-install
									
									
									
									
									
								
							| @ -45,6 +45,8 @@ function systemInfo(){ | |||||||
| 			| grep -A3 '^System Information' \ | 			| grep -A3 '^System Information' \ | ||||||
| 			| grep 'Version:' \ | 			| grep 'Version:' \ | ||||||
| 			| sed 's/\s*Version:\s*//' ) | 			| sed 's/\s*Version:\s*//' ) | ||||||
|  | 	elif ! [ -z "$(type -t uname )" ] ; then | ||||||
|  | 		PLATFORM=$(uname -o) | ||||||
| 	else | 	else | ||||||
| 		PLATFORM=unknown | 		PLATFORM=unknown | ||||||
| 	fi | 	fi | ||||||
| @ -350,7 +352,9 @@ function feature-vim(){ | |||||||
| function feature-keyd(){ ( | function feature-keyd(){ ( | ||||||
| 	@ mkdir -p ~/work/EXTERNAL | 	@ mkdir -p ~/work/EXTERNAL | ||||||
| 	@ cd ~/work/EXTERNAL | 	@ cd ~/work/EXTERNAL | ||||||
|  | 	if ! [ -d keyd ] ; then | ||||||
| 		@ git clone https://github.com/rvaiya/keyd | 		@ git clone https://github.com/rvaiya/keyd | ||||||
|  | 	fi | ||||||
| 	@ cd keyd | 	@ cd keyd | ||||||
| 	@ make \ | 	@ make \ | ||||||
| 		&& @ sudo make install | 		&& @ sudo make install | ||||||
| @ -366,7 +370,9 @@ function feature-keyd(){ ( | |||||||
| function feature-bashctrl(){ ( | function feature-bashctrl(){ ( | ||||||
| 	@ mkdir -p ~/work/ | 	@ mkdir -p ~/work/ | ||||||
| 	@ cd ~/work/ | 	@ cd ~/work/ | ||||||
|  | 	if ! [ -d bashctrl ] ; then | ||||||
| 		@ git clone git@github.com:flynx/bashctrl | 		@ git clone git@github.com:flynx/bashctrl | ||||||
|  | 	fi | ||||||
| 	@ cd bashctrl | 	@ cd bashctrl | ||||||
| 	@ ./bashctrl -y setup | 	@ ./bashctrl -y setup | ||||||
| ) } | ) } | ||||||
| @ -425,7 +431,9 @@ function feature-snapshots(){ ( | |||||||
| 	@ sudo snapper -c boot create-config /boot | 	@ sudo snapper -c boot create-config /boot | ||||||
| 
 | 
 | ||||||
| 	@ cd ~/work/EXTERNAL/ | 	@ cd ~/work/EXTERNAL/ | ||||||
|  | 	if ! [ -d grub-btrfs ] ; then | ||||||
| 		@ git clone https://github.com/Antynea/grub-btrfs.git | 		@ git clone https://github.com/Antynea/grub-btrfs.git | ||||||
|  | 	fi | ||||||
| 	@ cd grub-btrfs | 	@ cd grub-btrfs | ||||||
| 	@ sudo make install | 	@ sudo make install | ||||||
| ) } | ) } | ||||||
| @ -433,6 +441,7 @@ function feature-snapshots(){ ( | |||||||
| 
 | 
 | ||||||
| # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||||||
| # XXX skip scripts starting in "-"  | # XXX skip scripts starting in "-"  | ||||||
|  | # XXX make the scripts support the same syntax as features... | ||||||
| function feature-scripts(){ ( | function feature-scripts(){ ( | ||||||
| 	if ! [ -z "$1" ] ; then | 	if ! [ -z "$1" ] ; then | ||||||
| 		local dir=$1 | 		local dir=$1 | ||||||
| @ -603,6 +612,8 @@ Feature list manipulation: | |||||||
| Helpers: | Helpers: | ||||||
|     --make-platform-dir     - make platform directory for current platform |     --make-platform-dir     - make platform directory for current platform | ||||||
|                               and exit. |                               and exit. | ||||||
|  |                               Location:  | ||||||
|  |                                   ${SCRIPT_DIR}/platform/NAME | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| Default features: | Default features: | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user