mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	provision: Fix missing dependency on unzip.
Because this is often installed by default, we hadn't noticed that our Slack importer doesn't run without it. Thanks to Ray Kraesig for the report.
This commit is contained in:
		@@ -8,6 +8,8 @@ class zulip::app_frontend_base {
 | 
				
			|||||||
  $web_packages = [
 | 
					  $web_packages = [
 | 
				
			||||||
    # Needed to access our database
 | 
					    # Needed to access our database
 | 
				
			||||||
    "postgresql-client-${zulip::base::postgres_version}",
 | 
					    "postgresql-client-${zulip::base::postgres_version}",
 | 
				
			||||||
 | 
					    # Needed for Slack import
 | 
				
			||||||
 | 
					    'unzip',
 | 
				
			||||||
  ]
 | 
					  ]
 | 
				
			||||||
  zulip::safepackage { $web_packages: ensure => 'installed' }
 | 
					  zulip::safepackage { $web_packages: ensure => 'installed' }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -147,6 +147,7 @@ COMMON_DEPENDENCIES = [
 | 
				
			|||||||
    "gettext",              # Used by makemessages i18n
 | 
					    "gettext",              # Used by makemessages i18n
 | 
				
			||||||
    "curl",                 # Used for fetching PhantomJS as wget occasionally fails on redirects
 | 
					    "curl",                 # Used for fetching PhantomJS as wget occasionally fails on redirects
 | 
				
			||||||
    "moreutils",            # Used for sponge command
 | 
					    "moreutils",            # Used for sponge command
 | 
				
			||||||
 | 
					    "unzip",                # Needed for Slack import
 | 
				
			||||||
]
 | 
					]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
UBUNTU_COMMON_APT_DEPENDENCIES = COMMON_DEPENDENCIES + [
 | 
					UBUNTU_COMMON_APT_DEPENDENCIES = COMMON_DEPENDENCIES + [
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user