Created
February 3, 2015 14:29
-
-
Save elieux/8faaf423601d7ef01d0f to your computer and use it in GitHub Desktop.
pacman-case-insensitive
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ pacman -U example2-1.0-1-any.pkg.tar.xz | |
loading packages... | |
resolving dependencies... | |
looking for conflicting packages... | |
Packages (1) example2-1.0-1 | |
Total Installed Size: 0.00 MiB | |
:: Proceed with installation? [Y/n] | |
(1/1) checking keys in keyring [######################] 100% | |
(1/1) checking package integrity [######################] 100% | |
(1/1) loading package files [######################] 100% | |
(1/1) checking for file conflicts [######################] 100% | |
(1/1) checking available disk space [######################] 100% | |
(1/1) installing example2 [######################] 100% | |
$ pacman -U example2-2.0-1-any.pkg.tar.xz | |
loading packages... | |
resolving dependencies... | |
looking for conflicting packages... | |
Packages (1) example2-2.0-1 | |
Total Installed Size: 0.00 MiB | |
Net Upgrade Size: 0.00 MiB | |
:: Proceed with installation? [Y/n] | |
(1/1) checking keys in keyring [######################] 100% | |
(1/1) checking package integrity [######################] 100% | |
(1/1) loading package files [######################] 100% | |
(1/1) checking for file conflicts [######################] 100% | |
error: failed to commit transaction (conflicting files) | |
example2: /var/example2 exists in filesystem | |
Errors occurred, no packages were upgraded. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=example2 | |
pkgver=1.0 | |
pkgrel=1 | |
arch=('any') | |
package() { | |
mkdir "${pkgdir}/var" | |
echo "example2" > "${pkgdir}/var/EXAMPLE2" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=example2 | |
pkgver=2.0 | |
pkgrel=1 | |
arch=('any') | |
package() { | |
mkdir "${pkgdir}/var" | |
echo "example2" > "${pkgdir}/var/example2" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment