mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
Use ruby, not bash syntax in crew
This commit is contained in:
4
crew
4
crew
@@ -584,13 +584,13 @@ def install_package (pkgdir)
|
||||
strip_find_files "find . -type f ! -iname '*\.bz2' ! -iname '*\.gz' ! -iname '*\.lha' ! -iname '*\.lz' ! -iname '*\.rar' ! -iname '*\.tar' ! -iname '*\.tgz' ! -iname '*\.xz' ! -iname '*\.zip' -perm /111 -print | sed -e '/lib.*\.a$/d' -e '/lib.*\.so/d'"
|
||||
|
||||
if @opt_verbose then
|
||||
if [ -d "#{pkgdir}/home" ]; then
|
||||
if Dir.exists "#{pkgdir}/home" then
|
||||
system "tar cvf - ./usr/* ./home/* | (cd /; tar xp --keep-directory-symlink -f -)"
|
||||
else
|
||||
system "tar cvf - ./usr/* | (cd /; tar xp --keep-directory-symlink -f -)"
|
||||
fi
|
||||
else
|
||||
if [ -d "#{pkgdir}/home" ]; then
|
||||
if Dir.exists "#{pkgdir}/home" then
|
||||
system "tar cf - ./usr/* ./home/* | (cd /; tar xp --keep-directory-symlink -f -)"
|
||||
else
|
||||
system "tar cf - ./usr/* | (cd /; tar xp --keep-directory-symlink -f -)"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Defines common constants used in different parts of crew
|
||||
|
||||
CREW_VERSION = '1.0.5'
|
||||
CREW_VERSION = '1.0.6'
|
||||
|
||||
ARCH = `uname -m`.strip
|
||||
ARCH_LIB = if ARCH == 'x86_64' then 'lib64' else 'lib' end
|
||||
|
||||
Reference in New Issue
Block a user