Merge branch 'master' of github.com:dylanaraps/neofetch

This commit is contained in:
Dylan 2016-04-24 09:34:16 +10:00
commit 3abf47908d
2 changed files with 13 additions and 3 deletions

View file

@ -168,9 +168,20 @@ There is also a git version available: `emerge --autounmask-write =x11-apps/neof
- `sudo wget -O /etc/ports/tudurom.git https://git.io/vV46y` - `sudo wget -O /etc/ports/tudurom.git https://git.io/vV46y`
3. Sync the repos 3. Sync the repos
- `sudo ports -u` - `sudo ports -u`
4. Install the package 4. Add the repo to /etc/prt-get.conf with your text editor of choice
- `prtdir /usr/ports/tudurom`
5. Install the package
- `sudo prt-get depinst neofetch` - `sudo prt-get depinst neofetch`
Or alternatively use the [port](https://github.com/tudurom/crux-ports/blob/master/neofetch/Pkgfile):
1. Download port
- `wget -O ~/work/neofetch/Pkgfile https://raw.githubusercontent.com/tudurom/crux-ports/master/neofetch/Pkgfile`
2. Build the package
- `fakeroot pkgmk -d`
3. Install the package
- `sudo pkgadd neofetch#git-*.pkg.tar.gz`
### Debian / Ubuntu ### Debian / Ubuntu

View file

@ -2014,7 +2014,6 @@ getimage () {
# Calculate font size # Calculate font size
font_width=$((term_width / columns)) font_width=$((term_width / columns))
font_height=$((term_height / lines))
# Image size is half of the terminal # Image size is half of the terminal
case "$image_size" in case "$image_size" in